summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-05-15refactor: split up data collection by OS (#482)Clement Tsang
Refactor to split up data collection by OS and/or the backing library. The goal is to make it easier to work with and add new OS support, as opposed to how it was prior where we stored OS-independent implementations all in the same file.
2021-05-15github: more CI tweaks (#483)Clement Tsang
Tweak PR CI a bit more. Remove complete step, change check name, add comments.
2021-05-15github: fix nightly mocking (#481)Clement Tsang
Hopefully fixes the mock build capabilities for nightly when testing.
2021-05-15github: remove mocking from nightlyClementTsang
2021-05-13refactor: switch to procfs library (#479)Clement Tsang
Switch the Linux proc parts to the procfs library: https://crates.io/crates/procfs.
2021-05-13github: make fail-fast false for rustfmt and clippyClementTsang
2021-05-12github: move tests ci into check (#478)Clement Tsang
Moves cargo test into the cargo check block.
2021-05-12github: add old Linux build to nightly/deploy for older glibc (#477)Clement Tsang
Since we're moving all 16.04 ubuntu builds to 18.04, I thought this would be a good idea in case anyone needed it. Not sure if we should have just made ALL Linux builds use the older Linux container... for now I'll just make one extra build.
2021-05-11github: Update ubuntu instances due to deprecation (#476)Clement Tsang
Updates ubuntu version in CI due to GA deprecation warnings.
2021-05-11uptick: 0.6.1 (#475)0.6.1Clement Tsang
2021-05-11bug: forgot to create memory usage string when collapsed (#473)Clement Tsang
Adds a line to actually build the string of the summed memory usage. I forgot to make the string after summing the values.
2021-05-10github: update homebrew install instructionsClementTsang
2021-05-09github: Remove strip from Windows deploy/nightly (#472)Clement Tsang
Removes `strip` from the Windows build in deploy/nightly. It seems to cause VirusTotal to report some false positives.
2021-05-09docs: update choco install descriptionClement Tsang
2021-05-09github: update deployment process for winget filesClementTsang
2021-05-09fix missing quote in homebrew templateClementTsang
2021-05-09docs: fix changelog entryClementTsang
2021-05-09uptick: 0.6.0 (#471)0.6.0Clement Tsang
Update versions to 0.6.0.
2021-05-09docs: update demo gif for 0.6.0 (#470)Clement Tsang
Updates the demo gif in the README for 0.6.0.
2021-05-09docs: add solus in ToCClementTsang
2021-05-09other: lower the timer for multi-digit in dd times (#469)Clement Tsang
Lowers the timer for multi-digit inputs in dd. I'm going to eventually completely rewrite the input part for the entire application though, but this will do for now.
2021-05-09change: switch from sysinfo to heim for cpu usage in macOS and Windows (#467)Clement Tsang
Due to #404, I've just moved all CPU usage calculations over to heim.
2021-05-08deps: Update dependencies 2021-05-08 (#466)Clement Tsang
Did not update crossterm (and tui-rs) since it seems to have resulted in a massive CPU usage increase. Also fix minor clippy error with a duplicated to_string call.
2021-05-08docs: Formatting in READMEClementTsang
2021-05-07docs: add georgybog as a contributor (#465)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>
2021-05-07docs: add solus install instructions to README (#464)georgybog
2021-05-06other: make advanced kill default (#463)Clement Tsang
We make the advanced kill menu the default instead. You can opt out with disable_advanced_kill.
2021-05-06change: Adds advanced kill option to default config text (#462)Clement Tsang
Adds advanced_kill to the default config gen.
2021-05-06other: Remove vscode folder (#461)Clement Tsang
Removes the .vscode folder.
2021-04-24change: remove gap between CPU and columns in basic (#460)Clement Tsang
Removes the gap between the CPU section and other columns in basic mode.
2021-04-23bug: Fix mouse hitboxes (#459)Clement Tsang
Fixes the mouse hitbox checks overextending by 1. Also reverts the bandaid fix done for #458.
2021-04-23bug: Fixes basic mode mouse hitboxes being broken (#458)Clement Tsang
Fixes basic mode having broken click hitboxes (they were 1 unit too long in both directions). I'm pretty sure normal mode does too, but it's less noticeable due to bounding boxes.
2021-04-23docs: [ImgBot] Optimize images (#457)imgbot[bot]
*Total -- 76.76kb -> 58.86kb (23.32%) /assets/disk_name_mount_filter.png -- 24.58kb -> 17.70kb (27.97%) /assets/disk_no_filter.png -- 36.56kb -> 28.63kb (21.7%) /assets/disk_name_filter.png -- 15.62kb -> 12.53kb (19.8%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-23refactor: Take clippy nightly suggestions into account (#456)Clement Tsang
Refactor in regards to clippy nightly. Mostly deals with suggestions with duplicate code on multiple branches.
2021-04-22feature: Add mount filtering, rework filter priority logic (#455)Clement Tsang
This PR accomplishes two things: 1. This PR aims to add mount_filter to the config file. This allows a user to filter their disk widget entries by the mount name as well; this was particularly a problem in trying to address #431. 2. A slight rework of how the filter system works due to the need of being able to manage two potentially conflicting filter sources, since the disk widget will now potentially filter on both the disk name and the mount name. In regards to the second point, the new behaviour is as such: 1. Is the entry allowed through any filter? That is, does it match an entry in a filter where is_list_ignored is false? If so, we always keep this entry. 2. Is the entry denied through any filter? That is, does it match an entry in a filter where is_list_ignored is true? If so, we always deny this entry. 3. Anything else is allowed. This main (breaking) change is really the third point. This would mean that temp_filter and net_filter, when set to allow listed entries with is_list_ignored = false, are kinda... useless, as a whitelist in the scenario of being the only filter is kinda pointless. But hopefully this shouldn't be a problem...?
2021-04-13other: update built-in themes list in config (#452)Clement Tsang
Adds nord and nord-light as part of the description in the pre-defined config file.
2021-04-09change: Add decimal to disk values larger than 1GB (#451)Clement Tsang
A bit of a followup to #449, this adds decimal places for values over 1GB in regards to disk usage. This affects the disk widget (for the read/write per second) and process widgets (total read, total write, read/write per second).
2021-04-09change: Tweak default light colour scheme (#450)Clement Tsang
Removes/tweaks some really light colours that might cause issues with a white background. For example, yellow on white didn't look so great, so I adjusted the memory/rx colours for this mode.
2021-04-09change: Add decimal to actual memory usage in proc (#449)Clement Tsang
This change adds a decimal + single digit to memory usage values over the 1 GiB threshold. Otherwise, there is no visible change. (Note to self: implement the per-column width system soon, this change causes some values to potentially look a bit weird in mem-non-percent mode as it is if the value is really large, like 530.2GiB pushing right up against the column width, but it's currently tied to mem-percent mode. Ugh.) Also revert a change made by accident where I switched to a decimal prefix system (GB) for memory values. This has been reverted back to a binary prefix (GiB).
2021-04-08github: Reword some parts of bug report templateClement Tsang
2021-04-07refactor: Unify disk conversion to string step (#446)Clement Tsang
Refactor to unify the process disk usage -> string into one function.
2021-04-05feature: Collapsing in tree mode sums usage to parent (#445)Clement Tsang
For the process widget, we now sum the resource usage of the child processes on the parent entry when collapsing in tree mode. Note that if you search to filter, and collapse, it will not sum the pruned values (values that cannot be seen). This is partly because I'm a bit lazy, and partly because I think this behaviour makes sense. For example, let's say I search for a process with 4 child processes "AA, AB, BA, BB", with CPU usage 0.1, 0.2, 0.3, 0.4 respectively. Assume the parent process has 0 usage. - Without filter, it sums to 1.0 - With a filter on A, it would sum to just 0.3 - With a filter on AA, it would sum to 0.1 I think this is fine because I'm treating this as summing any child that is still *visible* somehow. Summing unseen values would probably be weird as it would look like it's not adding up. Further note that if you had, say, a child "CC" with a usage of, say, 2.0, and its parent of "AB", and you searched for CC in our above example, you would get a sum of 2.2. This is because AB is still visible by the fact that CC was the searched process, and AB must still exist (albeit faded out) in the tree hierarchy, and as such will still be displayed.
2021-04-04refactor: Switch from fnv to fxhash (#444)Clement Tsang
Switches to fxhash from fnv, which should be a bit faster.
2021-04-04change: Make proc widget unit consistent with disk (#443)Clement Tsang
In particular, use non-binary prefixes for disk and memory usage in a process. Ideally everything is configurable by the user, but this is fine for now IMO until I can get around to doing in-app config.
2021-04-04feature: Rework network y-axis, linear interpolation for off-screen data (#437)Clement Tsang
Rewrite of the y-axis labeling and scaling for the network widget, along with more customization. This still has one step to be optimized (cache results so we don't have to recalculate the legend each time), but will be done in another PR for sake of this one being too large already. Furthermore, this change adds linear interpolation at the 0 point in the case a data point shoots too far back - this seems to have lead to ugly gaps to the left of graphs in some cases, because the left hand limit was not big enough for the data point. We address this by grabbing values just outside the time range and linearly interpolating at the leftmost limit. This affects all graph widgets (CPU, mem, network). This can be optimized, and will hopefully be prior to release in a separate change.
2021-03-23docs: add vlakreeh as a contributor (#442)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>
2021-03-23bug: Fix getpwuid segfault (#440)Zeb Piasecki
Fixes a rare segfault if a uid does not have a passwd entry. The unsafe block at https://github.com/ClementTsang/bottom/blob/master/src/app/data_harvester/processes.rs#L137 can return a null pointer as specified at https://www.gnu.org/software/libc/manual/html_node/Lookup-User.html.
2021-03-23docs: add pvanheus as a contributor (#441)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>
2021-03-23github: Update questions templateClement Tsang
2021-03-19docs: Mention the nightly version in the READMEClement Tsang