summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2022-11-06ci: rename deployment folder to scripts (#873)Clement Tsang
2022-11-05deps: update nvml to 0.8.0 (#869)Clement Tsang
2022-11-05other: exclude more files in Cargo.tomlClementTsang
2022-11-04deps: update sysinfo to 0.26.7 (#867)Clement Tsang
2022-10-12refactor: tables V2 (#749)Clement Tsang
* refactor: move to new data table implementation * more work towards refactor * move disk and temp over, fix longstanding bug with disk and temp if removing the last value and selected * work towards porting over CPU work towards porting over CPU fix typo partially port over cpu, fix some potentially inefficient concat_string calls more work towards cpu widget migration some refactoring * sortable data sortable data more refactoring some sort refactoring more refactoringgggg column refactoring renaming and reorganizing more refactoring regarding column logic add sort arrows again * move over sort menu * port over process port over process precommit temp temp two, remember to squash work fix broken ltr calculation and CPU hiding add back row styling temp fix a bunch of issues, get proc working more fixes around click fix frozen issues * fix dd process killing * revert some of the persistent config changes from #257 * fix colouring for trees * fix missing entries in tree * keep columns if there is no data * add and remove tests * Fix ellipsis
2022-10-11bug: add bindings to grab ppid in some cases on macos (#825)Clement Tsang
2022-10-07fix wrong unit being used for memory in sysinfo data (#824)Clement Tsang
* fix wrong unit being used for memory in sysinfo data * update sysinfo to 0.26.4 for unsupported reasons w/ ntapi
2022-09-25other: bump to 0.6.9 for nightly to avoid confusion for nowClementTsang
2022-09-16deps: update sysinfo to 0.26.2 (#806)Clement Tsang
* deps: update sysinfo to 0.26.2 This dependency update has some nice things in store for us: - MacOS M1 temperature support - Bevy of bug fixes * update documentation * some fixes
2022-09-14other: add zfs to deploy feature set (#808)Clement Tsang
2022-09-07other: sort Cargo.toml (#802)Clement Tsang
2022-08-30ci: completion/manpage generation script spring cleaning (#795)Clement Tsang
* 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-22feature: Add zfs feature flag for arc memory (#784)Justin Martin
* freebsd clippy * add arc support * Code Review: moved runtime cfg checks to compile time and formatting * remove compile platform checks * add zfs feature flag to get_arc_data
2022-07-23Implement support for FreeBSD (#766)Wesley Moore
* WIP FreeBSD support * Implement get_cpu_data_list for FreeBSD * Implement disks for FreeBSD It doesn't work though as sysinfo doesn't make the device name available. * Use libxo to read process cpu info on FreeBSD * Populate get_io_usage with libxo too Actual I/O stats still aren't populated though as there's not an easy source for them. * Share more processes code between macos and freebsd * Extract function for deserializing libxo output on FreeBSD * Implement filtering of disks in FreeBSD * Clean up memory data collection * Update module docs
2022-06-28other: exclude some files in Cargo.toml (#759)Clement Tsang
Excludes unnecessary files from being included in `Cargo.toml`. This mostly consists of files like mkdocs and asset files for the README.
2022-06-14docs: re-enable lib docs for development purposes (#750)Clement Tsang
Enables lib docs, primarily intended for dev use. Also change some existing documentation based on warnings (mainly broken/bare links).
2022-05-28deployment: add aarch64/armv7 gnu .deb generation (#739)Clement Tsang
Adds .deb generation for aarch64 and armv7 gnu targets in the nightly and deploy workflows.
2022-05-15refactor: more work towards unifying process codeClementTsang
A bunch of work towards also refactoring how the process widget gathers and converts data.
2022-05-15refactor: begin migration of process widgetClementTsang
2022-05-06deps: migrate to starship-battery (#724)Clement Tsang
Migrates the `battery` dependency to the more actively maintained `starship-battery` fork, found at https://github.com/starship/rust-battery. See https://github.com/svartalf/rust-battery/pull/92 for more information.
2022-05-01ci: create deploy feature; test in CIClementTsang
This encompasses features that we want on deployment.
2022-04-28refactor: consolidate time graph componentsClementTsang
This consolidates all the time graph drawing to one main location, as well as some small improvements. This is helpful in that I don't have to reimplement the same thing across three locations if I have to make one change that in theory should affect them all. In particular, the CPU graph, memory graph, and network graph are all now using the same, generic implementation for drawing, which we call (for now) a component. Note this only affects drawing - it accepts some parameters affecting style and labels, as well as data points, and draw similarly to how it used to before. Widget-specific actions, or things affecting widget state, should all be handled by the widget-specific code instead. For example, our current implementation of x-axis autohide is still controlled by the widget, not the component, even if some of the code is shared. Components are, again, only responsible for drawing (at least for now). For that matter, the graph component does not have mutable access to any form of state outside of tui-rs' `Frame`. Note this *might* change in the future, where we might give the component state. Note that while functionally, the graph behaviour for now is basically the same, a few changes were made internally other than the move to components. The big change is that rather than using tui-rs' `Chart` for the underlying drawing, we now use a tweaked custom `TimeChart` tui-rs widget, which also handles all interpolation steps and some extra customization. Personally, I don't like having to deviate from the library's implementation, but this gives us more flexibility and allows greater control. For example, this allows me to move away from the old hacks required to do interpolation (where I had to mutate the existing list to avoid having to reallocate an extra vector just to insert one extra interpolated point). I can also finally allow customizable legends (which will be added in the future).
2022-04-27deps: update dependencies (#713)Clement Tsang
Updates various dependencies in both Cargo.toml and Cargo.lock.
2022-03-11other: add manpage file to cargo deb config, move back to build script (#693)Clement Tsang
Adds the asset for the manpage to cargo deb config. Also moves the generated manpage file to a .1.gz file. Also, moves back to a build script since that was causing some issues for the automatic Cargo.toml fields detection for manpage and completion generation. To prevent compilation from happening every time, and only in CI, we use an env var to avoid generation steps.
2022-03-10ci: add manpage generation, migrate build script (#692)Clement Tsang
Adds manpage generation to the build process, as well as following the xtask concept of adding additional build scripts that only need to run on deploy/nightly as opposed to `build.rs`. Note this doesn't follow the recommended method of using workplaces because I don't really want to shift the entire repo structure just for this. More on xtask: https://github.com/matklad/cargo-xtask
2022-03-08deps: update regex to 1.5.5 due to CVE (#691)Clement Tsang
Prompted by the following CVE: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html Addresses it by following the recommended fix of updating to 1.5.5.
2022-03-07deps: update clap to 3.x (#690)Clement Tsang
Updates bottom to use clap 3.x, along with some small refactoring changes.
2022-02-25deps: update dirs to 4.x (#682)Clement Tsang
Updates the dirs dependency to 4.0.0. This is a breaking change but should not affect bottom.
2022-02-25deps: update procfs and testing deps (#681)Clement Tsang
2022-02-25ci: enable strip on release builds with Cargo.toml (#679)Clement Tsang
Removes the manual strip used in favour of the now native functionality in Cargo.
2022-02-24deps: update sysinfo to 0.23.4 (#678)Clement Tsang
2022-02-13Add support for nvidia GPUsshurizzle
2022-02-01uptick: 0.6.8 (#670)0.6.8Clement Tsang
Uptick to 0.6.8.
2022-01-31uptick: 0.6.7 (#667)0.6.7Clement Tsang
Uptick to 0.6.7, with appropriate updates to the README and changelog.
2022-01-27bug: fix issues caused by having a width that is too small (#665)Clement Tsang
Due to a missing check, you could resize the window to a width that was too small, and it would trigger an endless while-loop for any table while trying to redistribute remaining space. This has been rectified with an explicit check, as well as a smarter method of redistributing remaining space borrowed from the rewrite. This also adds explicit width checks for widgets that have borders; if the width is <2, before, it would panic. Note that the rewrite I have kinda fixes all these issues already, so I don't want to invest too hard into this, but this should be fine as a patch for now. Also note that minimal heights don't seem to be causing any issues, it just seems to be minimal widths.
2022-01-20Merge pull request #658 from GuillaumeGomez/update-sysinfoClement Tsang
Update sysinfo version
2022-01-20Update sysinfo versionGuillaume Gomez
2022-01-19docs: update app descriptions (#659)Clement Tsang
Update app descriptions across the board to be more consistent.
2021-12-27bug/ci: fix debian file generation breaking completions (#645)Clement Tsang
Fixes completion file generation being broken while the .deb file is made, due to using an incorrect path.
2021-12-23deps: update time to 0.3.5 (#643)Clement Tsang
Updates time to 0.3.5: https://github.com/time-rs/time/blob/main/CHANGELOG.md#035-2021-11-12
2021-12-22uptick: 0.6.6 (#638)Clement Tsang
2021-12-19uptick: 0.6.5 (#628)Clement Tsang
2021-10-17deps: bump deps, remove chrono (#600)Clement Tsang
Bumps up some dependencies and removes chrono, switching to the time crate instead. One of side-effects of this change is that local time seems to not work (?)... so all logs are now in UTC. Oh well, this doesn't affect general user behaviour so I'm fine with it.
2021-09-23ci: move winget/msi and deb gen to separate steps (#585)Clement Tsang
Moves debian and winget/msi generation to a separate job, so it can run in parallel to the other jobs.
2021-09-12uptick: 0.6.4 (#576)Clement Tsang
2021-09-12bug: fix crashes for kernel patch versions > 255 (#575)Clement Tsang
Solved by updating procfs to 0.10.1. Thanks to hasali19 for finding and looking into this!
2021-08-19other: Make the battery dependency/features optional (#570)Clement Tsang
Allows disabling of the battery dependency through a feature flag. This also aims to disable all related features.
2021-07-17refactor: switch to manual implementation of meminfo parse (#548)Clement Tsang
Manually parse `/proc/meminfo` for the purposes of memory usage.
2021-07-12refactor: remove beef dependency for nowClementTsang
This is just a temp change, I wanted to remove it just for clarity's sake among dependencies, and will probably add it back in the future. For now I'll just stick to std's beef.
2021-06-29other: Remove '-nightly- from nightly versionClementTsang