Skip to content

Releases: ClementTsang/bottom

0.5.1 Release

22 Nov 15:26
Compare
Choose a tag to compare

Note: this version has a bug causing very large memory usage over long periods of time. Please use <0.5.0 or >=0.5.4

Patch for some bugs that were spotted in the 0.5.0 release.

Bug Fixes

  • 6ef1d66: Remove nord as a valid colour for now.

  • e04ce4f: Fix --use_old_network_legend.

  • 99d0402: Fix config detection for built-in colours.

0.5.0 Release

21 Nov 03:15
Compare
Choose a tag to compare

Note: this version has a bug causing very large memory usage over long periods of time. Please use <0.5.0 or >=0.5.4

Apologies for how long this took.

Features

  • Adaptive network graphs: the network widget's y-axis will now adjust based on your current usage. For example:

image

image

  • Mouse support for tables and moving to widgets.

  • The ability to hide specific temperature and disk entries via config.

  • Added a tree mode, you can access this with the t key.

image

  • A simple indicator for when data updating is frozen.

image

  • Built-in colour themes.

Changes

  • Updated help descriptions, added auto-complete generation.

  • Changed how we do battery theming. We now only set high, medium, and low colours and we deal with the ratios.

Bug Fixes

  • Fixes a bug where you could move down in the process widget even if the process widget search was closed.
  • Add labels to Linux temperature values.
  • Implements sorting by count. It previously did absolutely nothing.
  • Fix being able to cause an index out-of-bounds by resizing to a smaller terminal just after the program got the terminal size, but right before the terminal started drawing.
  • Fixed not clearing screen before drawing, which caused issues for some environments.
  • Fix highlighted entries being stuck in another colour when the widget is not selected.
  • Expanding a widget no longer overrides the widget/dialog title colour.
  • Fixed process names occasionally showing up as truncated, due to only using /proc//stat as our data source.
  • Fixed missing thread termination steps as well as improper polling causing blocking in input thread.
  • Fixed the CPU basic widget showing incorrect data due to an incorrect offset when displaying the data.
  • Fixed an incorrect offset affecting the CPU colour when scrolling.
  • Fixed spacing problems in basic CPU mode.
  • Fixed an incorrect offset affecting the graph CPU colour mismatching the legend.
  • Removes an accidental extra comma in one of the headers in the disk widget.
  • Removes the automatically generated CPU colours method.

0.4.7 Release

27 Aug 01:51
Compare
Choose a tag to compare

Just a single bug fix, where searching by command name was broken.

0.4.6 Release

25 Aug 22:22
9158c5f
Compare
Choose a tag to compare

Minor update, with some bug fixes, changes, and new features. Most of the work done was refactoring and updating old, weird code.

Features

  • Allow using P to toggle between the processes' base name and the processes' full name:

image

image

  • Added sorting capabilities for any column. Using s will open up a menu allowing you to select which column you want to sort by.

image

  • Added I to invert the current process sort.

  • Added the ability to toggle between mem% and actual memory values by using % in the process widget:

image

image

and basic memory widget when using --basic:

image

image

  • Support searching processes by state (i.e. state=sleeping):

image

  • Added WASD as an alternative method to moving between widgets.

  • Made e also escape expanded widgets (so e expands, then pressing e again will shrink the widget, like if you had pressed ESC).

Changes

  • Dropped MSRV (for now), mainly supporting stable and newer versions of Rust.

  • For macOS, support $HOME/Library/Application Support instead of $HOME/.config for config files. For backwards compatibility's sake, for macOS, this will still check .config if it exists first, but otherwise, it will default to the new location.

Bug fixes

  • Fixed bug in basic mode where the battery widget was placed incorrectly.

  • Fixed a bug caused by hitting Enter when a process kill fails, breaking future process kills.

  • Fix bug caused by incorrectly reading the /proc/{pid}/stats file.

0.4.5 Release

08 Jul 21:52
Compare
Choose a tag to compare

Minor update to match needing to update on crates.io. No changes.

0.4.4 Release

06 Jul 06:06
Compare
Choose a tag to compare

...Well this is a bit awkward. There hasn't been any updates for a while - sorry! I've been busy with school, so that's put a huge damper on any productivity regarding this project.

...Anyways, onto the important parts that people reading this would care about. This is a minor release that consists of a few changes/bug fixes that were actually done months ago, but I had wanted to release together with 0.5.0... except that's going to take a while, so I might as well push these now, and load a bit more onto 0.5.0 to make it a bit of a bigger update when I have the time to do so.

Features

  • Added process states to the processes widget.

Bug Fixes

  • Fixed a bug where bottom would incorrectly read the wrong values to calculate the read/write columns for processes in Linux.

  • Fixed a bug where OR operations in the process query wouldn't properly for some cases.

  • Improved process query overall... it should be generally more usable, at least from my testing.

Changes

  • Showing average CPU is now on by default. Disable it via flag.

  • Removed CPU filtering. I didn't like it and had planned on rolling out this change with an alternative, more usable CPU widget system. Note, if you liked it, let me know, it's easy to add back in as an option but for now, I ripped it out since it was causing more headaches.

    • show_disabled_data flag and option are also removed as they are now irrelevant.
  • Made the CPU entry you're scrolling over highlight even when you're not on the widget.

0.4.3 Release

15 May 05:49
Compare
Choose a tag to compare

Minor update to update a dependency to avoid an overflow.

0.4.2 Release

12 May 04:26
Compare
Choose a tag to compare

A minor update to fix some bugs and some minor QoL changes:

Changes

  • Automatically hide time axis labels if the widget gets too small.

  • Automatically hide table gap if the widget gets too small.

Bugs

  • The <Space> character can be used as an "AND" again (properly) in queries. For example:
(btm cpu > 0) (discord mem > 0)

is equivalent to:

(btm AND cpu > 0) AND (discord AND mem > 0)
  • Fixed an issue where if the drive I/O label didn't match any disk, the entire disk widget would display no results.

  • Also fixed macOS disk I/O not working at all. Now it sorta works.

  • Display SWAP and MEM legends even if the total amount is 0 to avoid a weird blank spot in the legend.

0.4.1 Release

05 May 22:46
Compare
Choose a tag to compare

Minor uptick to fix a bug.

Bugs

0.4.0 Release

05 May 04:15
Compare
Choose a tag to compare

There's a mix of bug fixes, new features, and changes this time around.

See CHANGELOG.md for details on things that I don't mention here.

Features

  • Added I/O stat monitoring per process. You can see read/s, write/s, total read, and total write:

image

  • Added battery monitoring. You can see charge%, consumption, time to empty/full, and health. The colour of the charge% bar and when it changes colour can be adjusted via the [colors] config object.

image

  • Credit to andys8: Added hjkl movement to the dd dialog.

  • Added Alt-h and Alt-l as options to move left/right in a search query.

  • Added a much more detailed querying system for filtering processes. More details can be found here, but the gist of it is:

    • Support for searching via CPU, MEM, PID, name, read, write, total read, and total write
    • Support for using logical operators (AND/OR) and parentheses to group and manage searches
    • Regex, matching by case, and matching whole words remains for PID and name searching.

Changes

  • Moved maximization key to e to expand the widget.

  • Changed the default colour scheme for highlighted borders and table headers to light blue. This was mostly because using the default colour scheme on something like Powershell was awful.

  • Updated the widget type keyword list to accept the following keywords as existing types:

    • "memory"
    • "network"
    • "process"
    • "processes"
    • "temperature"
  • Moved the network legend to within the graph, now that tui-rs 0.9 has landed! If one wants the old network style, they can do so via the --use_old_network_legend flag or the use_old_network_legend = true config option.

  • Furthermore, made it so that the RAM legend hides less often.

  • Updated some error messages to be more helpful of what went wrong.

  • Redesigned the help menu to allow for scrolling and jumping to sections:

image

Bugs

  • Fixed dd not working on entries that weren't the first displayed.

  • Fixed a bug where it would crash with no warning if you had a layout like:

[[row]]

The new behaviour still errors out, but will warn you.

  • Fixed a bug where moving vertically over an empty row would fail.