2020-04-06 03:40:49 +00:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2023-11-21 04:15:14 +00:00
## [0.9.7]/[0.10.0] - Unreleased
### Features
- [#1276 ](https://github.com/ClementTsang/bottom/pull/1276 ): Add GPU process info.
2023-12-20 03:52:29 +00:00
- [#1353 ](https://github.com/ClementTsang/bottom/pull/1353 ): Support selecting the average CPU graph as a default.
2024-04-02 05:23:01 +00:00
- [#1430 ](https://github.com/ClementTsang/bottom/pull/1430 ): Support controlling the graph legend position for memory and network graph widgets.
2023-11-21 04:15:14 +00:00
2023-12-01 07:46:22 +00:00
### Changes
2024-01-11 00:07:22 +00:00
- [#1344 ](https://github.com/ClementTsang/bottom/pull/1344 ): Change the `group` command line-argument to `group_processes` for consistency with the config file option.
- [#1376 ](https://github.com/ClementTsang/bottom/pull/1376 ): Group together related command-line arguments in `-h` and `--help` .
2024-02-15 08:25:48 +00:00
- [#1411 ](https://github.com/ClementTsang/bottom/pull/1411 ): Add `time` as a default column.
2024-04-02 05:23:01 +00:00
- [#1436 ](https://github.com/ClementTsang/bottom/pull/1436 ): Use actual "swap" value for Windows.
2024-04-11 00:46:35 +00:00
- [#1441 ](https://github.com/ClementTsang/bottom/pull/1441 ): The following arguments have changed names:
- `--left_legend/-l` is now `--cpu_left_legend` .
- [#1441 ](https://github.com/ClementTsang/bottom/pull/1441 ): The following config arguments have changed names:
- `expanded_on_startup` is now `expanded` .
- `left_legend` is now `cpu_left_legend` .
2023-12-01 07:46:22 +00:00
2023-11-21 05:25:25 +00:00
### Bug Fixes
- [#1314 ](https://github.com/ClementTsang/bottom/pull/1314 ): Fix fat32 mounts not showing up in macOS.
2023-12-20 06:36:08 +00:00
- [#1355 ](https://github.com/ClementTsang/bottom/pull/1355 ): Reduce chances of non-D0 devices waking up due to temperature checks on Linux.
2024-02-15 08:01:45 +00:00
- [#1410 ](https://github.com/ClementTsang/bottom/pull/1410 ): Fix uptime calculation for Linux.
2023-11-21 05:25:25 +00:00
2023-08-27 01:02:22 +00:00
## [0.9.6] - 2023-08-26
2023-11-21 04:15:14 +00:00
### Other
2023-08-27 01:02:22 +00:00
- [#1286 ](https://github.com/ClementTsang/bottom/pull/1286 ): Pin serde to 1.0.188 to help with potential `cargo install` issues. Note this version should be fine and not pull in binaries.
2023-08-26 15:47:26 +00:00
## [0.9.5] - 2023-08-26
2023-08-09 05:27:56 +00:00
2023-11-21 04:15:14 +00:00
### Other
2023-08-09 05:27:56 +00:00
2023-08-24 23:25:26 +00:00
- [#1278 ](https://github.com/ClementTsang/bottom/pull/1278 ): Pin serde to 1.0.171.
2023-08-09 05:27:56 +00:00
2023-08-05 21:51:24 +00:00
## [0.9.4] - 2023-08-05
2023-06-27 05:57:32 +00:00
2023-11-21 04:15:14 +00:00
### Features
2023-07-10 04:36:11 +00:00
- [#1248 ](https://github.com/ClementTsang/bottom/pull/1248 ): Add I/O counters from ZFS for Linux and FreeBSD.
2023-11-21 04:15:14 +00:00
### Changes
2023-07-02 04:38:40 +00:00
- [#1236 ](https://github.com/ClementTsang/bottom/pull/1236 ): Hide the battery tab selector if there is only one battery detected.
2023-07-20 00:19:44 +00:00
- [#1251 ](https://github.com/ClementTsang/bottom/pull/1251 ): Make the charge meter take the entire width of the battery widget.
2023-07-02 04:38:40 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2023-06-19 05:37:22 +00:00
2023-11-21 05:25:25 +00:00
- [#1230 ](https://github.com/ClementTsang/bottom/pull/1230 ): Fix core dump if the terminal is closed while bottom is open.
- [#1245 ](https://github.com/ClementTsang/bottom/pull/1245 ): Fix killing processes in Windows leaving a handle open.
- [#1264 ](https://github.com/ClementTsang/bottom/pull/1264 ): Fix ARC usage showing max system memory instead of max ARC size.
## [0.9.3] - 2023-06-25
2023-06-19 05:37:22 +00:00
2023-11-21 04:15:14 +00:00
### Features
2023-06-23 07:42:16 +00:00
- [#1221 ](https://github.com/ClementTsang/bottom/pull/1221 ): Support human times for `rate` .
2023-11-21 05:25:25 +00:00
### Bug Fixes
- [#1216 ](https://github.com/ClementTsang/bottom/pull/1216 ): Fix arguments not being sorted alphabetically.
- [#1219 ](https://github.com/ClementTsang/bottom/pull/1219 ): Fix overflow/underflow in graph timespan zoom.
2023-11-21 04:15:14 +00:00
### Other
2023-06-25 04:31:57 +00:00
2023-06-25 19:40:25 +00:00
- [#1206 ](https://github.com/ClementTsang/bottom/pull/1206 ): Add `.rpm` package generation.
2023-06-25 19:39:46 +00:00
- [#1220 ](https://github.com/ClementTsang/bottom/pull/1220 ): Update documentation for features supporting human times.
2023-06-25 04:31:57 +00:00
2023-06-11 22:22:42 +00:00
## [0.9.2] - 2023-06-11
2023-05-26 04:42:40 +00:00
2023-11-21 05:25:25 +00:00
### Features
- [#1172 ](https://github.com/ClementTsang/bottom/pull/1172 ): Support human times for `time_delta` and `default_time_value` .
- [#1187 ](https://github.com/ClementTsang/bottom/pull/1187 ): Use better names for duplicate temp sensors found by `/sys/class/thermal` .
- [#1188 ](https://github.com/ClementTsang/bottom/pull/1188 ): Also check `/sys/devices/platform/coretemp.*` for temp sensors.
2023-11-21 04:15:14 +00:00
### Bug Fixes
2023-06-08 04:05:30 +00:00
- [#1186 ](https://github.com/ClementTsang/bottom/pull/1186 ): Fix for temperature sensor data gathering on Linux immediately halting if any method failed.
2023-06-08 23:49:30 +00:00
- [#1191 ](https://github.com/ClementTsang/bottom/pull/1191 ): Fix ntfs3 mounts not being counted as a physical drive type.
2023-06-09 04:47:42 +00:00
- [#1195 ](https://github.com/ClementTsang/bottom/pull/1195 ): Fix battery health being incorrectly reported on M1 macOS.
2023-06-11 22:12:15 +00:00
- [#1188 ](https://github.com/ClementTsang/bottom/pull/1188 ): Don't fail fast with temperature sensor name generation on Linux.
2023-06-08 04:05:30 +00:00
2023-11-21 04:15:14 +00:00
### Other
2023-06-11 05:35:16 +00:00
- [#1199 ](https://github.com/ClementTsang/bottom/pull/1199 ): bottom should build on `aarch64-linux-android` with features disabled.
2023-05-14 04:13:12 +00:00
## [0.9.1] - 2023-05-14
2023-05-12 08:39:07 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2023-05-12 08:39:07 +00:00
- [#1148 ](https://github.com/ClementTsang/bottom/pull/1148 ): Fix Gruvbox colour string being invalid when cache usage is enabled.
2023-05-10 07:17:25 +00:00
## [0.9.0] - 2023-05-10
2023-02-11 07:48:23 +00:00
2023-11-21 04:15:14 +00:00
### Features
2023-02-11 07:48:23 +00:00
- [#1016 ](https://github.com/ClementTsang/bottom/pull/1016 ): Add support for displaying process usernames on Windows.
2023-02-18 06:55:26 +00:00
- [#1022 ](https://github.com/ClementTsang/bottom/pull/1022 ): Support three-character hex colour strings for styling.
2023-02-19 23:44:35 +00:00
- [#1024 ](https://github.com/ClementTsang/bottom/pull/1024 ): Support FreeBSD temperature sensors based on `hw.temperature` .
2023-04-15 04:15:36 +00:00
- [#1063 ](https://github.com/ClementTsang/bottom/pull/1063 ): Add buffer and cache memory tracking.
2023-04-19 04:46:57 +00:00
- [#1106 ](https://github.com/ClementTsang/bottom/pull/1106 ): Add current battery charging state.
2023-04-29 23:21:48 +00:00
- [#1115 ](https://github.com/ClementTsang/bottom/pull/1115 ): Add customizable process columns to config file.
2023-05-02 05:33:53 +00:00
- [#801 ](https://github.com/ClementTsang/bottom/pull/801 ): Add optional process time column and querying.
2023-02-11 07:48:23 +00:00
2023-11-21 04:15:14 +00:00
### Changes
2023-02-11 07:48:23 +00:00
2023-02-19 06:12:13 +00:00
- [#1025 ](https://github.com/ClementTsang/bottom/pull/1025 ): Officially support M1 macOS.
2023-03-03 06:00:33 +00:00
- [#1035 ](https://github.com/ClementTsang/bottom/pull/1035 ): Migrate away from heim for CPU information.
2023-05-10 07:17:25 +00:00
- [#1036 ](https://github.com/ClementTsang/bottom/pull/1036 ): Migrate away from heim for memory information; bottom will now try to use `MemAvailable` on Linux to determine used memory.
2023-03-04 06:34:52 +00:00
- [#1041 ](https://github.com/ClementTsang/bottom/pull/1041 ): Migrate away from heim for network information.
2023-04-10 09:52:46 +00:00
- [#1064 ](https://github.com/ClementTsang/bottom/pull/1064 ): Migrate away from heim for storage information.
- [#812 ](https://github.com/ClementTsang/bottom/issues/812 ): Fully remove heim from bottom.
- [#1075 ](https://github.com/ClementTsang/bottom/issues/1075 ): Update how drives are named in Windows.
2023-04-19 04:46:57 +00:00
- [#1106 ](https://github.com/ClementTsang/bottom/pull/1106 ): Rename battery consumption field to rate.
2023-02-19 06:12:13 +00:00
2023-11-21 05:25:25 +00:00
### Bug Fixes
- [#1021 ](https://github.com/ClementTsang/bottom/pull/1021 ): Fix selected text background colour being wrong if only the foreground colour was set.
- [#1037 ](https://github.com/ClementTsang/bottom/pull/1037 ): Fix `is_list_ignored` accepting all results if set to `false` .
- [#1064 ](https://github.com/ClementTsang/bottom/pull/1064 ): Disk name/mount filter now doesn't always show all entries if one filter wasn't set.
- [#1064 ](https://github.com/ClementTsang/bottom/pull/1064 ): macOS disk I/O is potentially working now.
- [#597 ](https://github.com/ClementTsang/bottom/issues/597 ): Resolve RUSTSEC-2021-0119 by removing heim.
2023-11-21 04:15:14 +00:00
### Other
2023-02-11 07:48:23 +00:00
2023-04-15 04:15:36 +00:00
- [#1100 ](https://github.com/ClementTsang/bottom/pull/1100 ): Speed up first draw and first data collection.
2023-04-21 04:07:34 +00:00
- [#1107 ](https://github.com/ClementTsang/bottom/pull/1107 ): Update to clap v4.
2023-04-22 04:19:12 +00:00
- [#1111 ](https://github.com/ClementTsang/bottom/pull/1111 ): Update to regex [1.8.0 ](https://github.com/rust-lang/regex/blob/93316a3b1adc43cc12fab6c73a59f646658cd984/CHANGELOG.md#180-2023-04-20 ), supporting more escapable characters and named captures.
2023-04-15 04:15:36 +00:00
2023-01-22 05:53:36 +00:00
## [0.8.0] - 2023-01-22
2023-01-01 10:08:04 +00:00
2023-11-21 04:15:14 +00:00
### Features
2023-01-06 04:30:05 +00:00
- [#950 ](https://github.com/ClementTsang/bottom/pull/950 ): Split usage into both usage percentage and usage value.
2023-01-04 06:27:15 +00:00
2023-11-21 04:15:14 +00:00
### Changes
2023-01-01 10:08:04 +00:00
2023-01-15 17:06:19 +00:00
- [#974 ](https://github.com/ClementTsang/bottom/pull/974 ): Hide battery duration section if the value is unknown. Also update shortened text.
2023-01-22 05:53:36 +00:00
- [#975 ](https://github.com/ClementTsang/bottom/pull/975 ): Automatically hide the battery widget if no batteries are found but `--battery` is enabled.
2023-01-15 17:06:19 +00:00
2023-11-21 05:25:25 +00:00
### Bug Fixes
- [#950 ](https://github.com/ClementTsang/bottom/pull/950 ): Update help menu for disk and temperature widgets with sorting support.
- [#994 ](https://github.com/ClementTsang/bottom/pull/994 ): Fix time graph labels not being styled.
2023-11-21 04:15:14 +00:00
### Other
2023-01-01 10:08:04 +00:00
2023-01-22 05:53:36 +00:00
- [#969 ](https://github.com/ClementTsang/bottom/pull/969 ): Follow Debian conventions for naming generated `.deb` binaries.
2023-01-19 10:40:34 +00:00
2023-01-06 04:30:05 +00:00
## [0.7.1] - 2023-01-06
2023-11-21 04:15:14 +00:00
### Bug Fixes
2023-01-06 04:30:05 +00:00
2023-01-20 23:50:20 +00:00
- [#950 ](https://github.com/ClementTsang/bottom/pull/950 ): Fix invalid sorting order for disk usage percentage.
2023-01-06 04:30:05 +00:00
- [#952 ](https://github.com/ClementTsang/bottom/pull/952 ), [#960 ](https://github.com/ClementTsang/bottom/pull/960 ): Partially fix battery text getting cut off in small windows.
- [#953 ](https://github.com/ClementTsang/bottom/pull/953 ): Fix CPU widget's 'all' label being missing on small sizes.
2023-01-01 10:08:04 +00:00
2023-11-21 04:15:14 +00:00
### Other
2023-01-04 07:34:17 +00:00
- [#951 ](https://github.com/ClementTsang/bottom/pull/951 ): Nightly builds now have their version number (`btm -V`) tagged with the commit hash.
2022-12-31 22:50:20 +00:00
## [0.7.0] - 2022-12-31
2021-12-22 19:18:50 +00:00
2023-11-21 04:15:14 +00:00
### Features
2022-02-25 19:32:33 +00:00
2022-07-24 10:53:34 +00:00
- [#676 ](https://github.com/ClementTsang/bottom/pull/676 ): Add support for NVIDIA GPU temperature sensors.
- [#760 ](https://github.com/ClementTsang/bottom/pull/760 ): Add a check for whether bottom is being run in a terminal.
- [#766 ](https://github.com/ClementTsang/bottom/pull/766 ): Add FreeBSD support.
2022-08-14 21:50:25 +00:00
- [#774 ](https://github.com/ClementTsang/bottom/pull/774 ): Add half page scrolling with `ctrl-u` and `ctrl-d` .
2022-08-23 17:32:59 +00:00
- [#784 ](https://github.com/ClementTsang/bottom/pull/784 ): Add ZFS ARC support.
2022-10-16 05:17:04 +00:00
- [#794 ](https://github.com/ClementTsang/bottom/pull/794 ): Add GPU memory support for NVIDIA GPUs.
2022-09-18 09:15:37 +00:00
- [#806 ](https://github.com/ClementTsang/bottom/pull/806 ): Update sysinfo to support M1 macOS temperature sensors.
2022-12-31 22:50:20 +00:00
- [#836 ](https://github.com/ClementTsang/bottom/pull/836 ): Add CLI options for GPU memory.
2022-10-20 04:34:56 +00:00
- [#841 ](https://github.com/ClementTsang/bottom/pull/841 ): Add page up/page down support for the help screen.
2022-11-05 23:32:14 +00:00
- [#868 ](https://github.com/ClementTsang/bottom/pull/868 ): Make temperature widget sortable.
2022-11-06 07:26:36 +00:00
- [#870 ](https://github.com/ClementTsang/bottom/pull/870 ): Make disk widget sortable.
2022-11-10 05:40:04 +00:00
- [#881 ](https://github.com/ClementTsang/bottom/pull/881 ): Add pasting to the search bar.
2022-11-13 06:51:10 +00:00
- [#892 ](https://github.com/ClementTsang/bottom/pull/892 ): Add custom retention periods for data.
2022-12-30 08:06:48 +00:00
- [#899 ](https://github.com/ClementTsang/bottom/pull/899 ), [#910 ](https://github.com/ClementTsang/bottom/pull/910 ), [#912 ](https://github.com/ClementTsang/bottom/pull/912 ): Add non-normalized CPU usage to processes.
2022-12-07 09:28:43 +00:00
- [#919 ](https://github.com/ClementTsang/bottom/pull/919 ): Add an option to expand the default widget on startup.
2022-08-14 21:50:25 +00:00
2023-11-21 05:25:25 +00:00
### Changes
- [#690 ](https://github.com/ClementTsang/bottom/pull/690 ): Add some colour to `-h` /`--help` as part of updating to clap 3.0.
- [#726 ](https://github.com/ClementTsang/bottom/pull/726 ): Add ARM musl binary build tasks.
- [#807 ](https://github.com/ClementTsang/bottom/pull/807 ): Add more human friendly temperature sensor names for Linux.
- [#845 ](https://github.com/ClementTsang/bottom/pull/845 ), [#922 ](https://github.com/ClementTsang/bottom/pull/922 ): Add macOS M1, FreeBSD 12, and FreeBSD 13 binary build tasks.
- [#916 ](https://github.com/ClementTsang/bottom/pull/916 ), [#937 ](https://github.com/ClementTsang/bottom/pull/937 ): Improve CPU usage by optimizing draw logic of charts and tables.
### Bug Fixes
- [#711 ](https://github.com/ClementTsang/bottom/pull/711 ): Fix building in Rust beta 1.61 due to `as_ref()` calls causing type inference issues.
- [#717 ](https://github.com/ClementTsang/bottom/pull/717 ): Fix clicking on empty space in tables selecting the very last entry of a list in some cases.
- [#720 ](https://github.com/ClementTsang/bottom/pull/720 ): Fix panic if battery feature was disabled during compilation.
- [#805 ](https://github.com/ClementTsang/bottom/pull/805 ): Fix bottom keeping devices awake in certain scenarios.
- [#825 ](https://github.com/ClementTsang/bottom/pull/825 ): Use alternative method of getting parent PID in some cases on macOS devices to avoid needing root access.
- [#916 ](https://github.com/ClementTsang/bottom/pull/916 ): Fix possible gaps with widget layout spacing.
- [#938 ](https://github.com/ClementTsang/bottom/pull/938 ): Fix search scrolling with wider Unicode characters.
2022-02-02 02:01:32 +00:00
## [0.6.8] - 2022-02-01
2022-01-31 21:40:50 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2022-01-31 21:40:50 +00:00
2022-02-02 02:01:32 +00:00
- [#655 ](https://github.com/ClementTsang/bottom/pull/669 ): Fix a bug where the number of CPUs is never refreshed.
## [0.6.7] - 2022-01-31
2022-01-31 21:40:50 +00:00
2023-11-21 04:15:14 +00:00
### Features
2021-12-27 23:23:11 +00:00
- [#646 ](https://github.com/ClementTsang/bottom/pull/646 ): Add `PgUp` /`PgDown` keybind support to scroll up and down a page in a table.
2023-11-21 04:15:14 +00:00
### Bug Fixes
2022-02-02 02:01:32 +00:00
- [#655 ](https://github.com/ClementTsang/bottom/pull/665 ): Fix bug where the program would stall in an infinite loop if the width of the terminal was too small.
2023-11-21 04:15:14 +00:00
### Other
2022-01-31 21:40:50 +00:00
- [#658 ](https://github.com/ClementTsang/bottom/pull/658 ): Update sysinfo.
2021-12-22 19:18:50 +00:00
## [0.6.6] - 2021-12-22
2021-12-21 23:17:30 +00:00
2023-11-21 04:15:14 +00:00
### Changes
2021-12-22 19:57:15 +00:00
- [#637 ](https://github.com/ClementTsang/bottom/pull/637 ): Remove duplicate guest time in process CPU calculation
2023-11-21 05:25:25 +00:00
### Bug Fixes
- [#637 ](https://github.com/ClementTsang/bottom/pull/637 ): Fix process CPU calculation if /proc/stat CPU line has fewer values than expected
2021-12-19 18:04:10 +00:00
## [0.6.5] - 2021-12-19
2023-11-21 04:15:14 +00:00
### Bug Fixes
2021-12-19 18:04:10 +00:00
2021-12-20 03:33:34 +00:00
- [#600 ](https://github.com/ClementTsang/bottom/pull/600 ): Address RUSTSEC-2020-0071
2022-07-24 10:53:34 +00:00
- [#627 ](https://github.com/ClementTsang/bottom/pull/627 ): Fix `process_command` breaking process widget sorting.
2021-12-19 18:04:10 +00:00
2023-11-21 04:15:14 +00:00
### Internal Changes
2021-12-19 18:04:10 +00:00
- [#608 ](https://github.com/ClementTsang/bottom/pull/608 ): Add codecov integration to pipeline.
2021-09-12 18:02:11 +00:00
## [0.6.4] - 2021-09-12
bug: fix inaccuracy in memory usage/total on macOS and Linux (#545)
Fixes the accuracy of the memory widget for Linux and macOS, and uses binary prefixes instead to be more accurate.
Regarding the first part, it turns out that the way I was calculating memory usage was *slightly* incorrect for a few reasons:
- Regarding macOS, it seems like the way I was determining usage (`usage = total - available`) is not the most accurate. The better way of doing this is apparently `usage = wire + active`, where `wire` is memory always marked to stay in RAM, and `active` is memory currently in RAM. This seems to be much closer to other applications now.
- Regarding Linux, this was somewhat due to two issues - one was that I should have used heim's own built-in function call to get how much memory was *used*, and the other is that when heim reads info from `meminfo`, it reads it in *kilobytes* - however, the values are actually in *kibibytes*. As such, to get the value in kibibytes, you want to actually take it in kilobytes.
While I've filed an issue for the library, for now, I'll just manually bandaid over this. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-proc-meminfo for more info.
Both changes take more advantage of platform-specific methods, and as such, the change unfortunately adds some ugly platform-specific code blocks.
Side note, Windows Task Manager apparently (?) uses binary prefixes for the values behind the scenes, but displays decimal prefixes. As such, now that we've switched to binary prefixes, it'll "seem" like the two aren't matching anymore since the units won't match, despite the values matching.
2021-07-15 22:28:41 +00:00
2023-11-21 04:15:14 +00:00
### Changes
2021-07-23 23:51:45 +00:00
2021-09-12 17:48:01 +00:00
- [#557 ](https://github.com/ClementTsang/bottom/pull/557 ): Add '/s' to network usage legend to better indicate that it's a per-second change.
2023-11-21 04:15:14 +00:00
### Bug Fixes
2021-09-12 17:48:01 +00:00
- [#575 ](https://github.com/ClementTsang/bottom/pull/575 ): Updates the procfs library to not crash on kernel version >255.
2021-07-23 23:51:45 +00:00
2023-11-21 04:15:14 +00:00
### Internal Changes
2021-07-21 15:01:44 +00:00
- [#551 ](https://github.com/ClementTsang/bottom/pull/551 ): Disable AUR package generation in release pipeline since it's now in community.
2021-09-12 17:48:01 +00:00
- [#570 ](https://github.com/ClementTsang/bottom/pull/570 ): Make battery features optional in compilation.
2021-07-21 15:01:44 +00:00
2021-07-18 17:42:25 +00:00
## [0.6.3] - 2021-07-18
2023-11-21 04:15:14 +00:00
### Changes
2021-07-18 17:42:25 +00:00
- [#547 ](https://github.com/ClementTsang/bottom/pull/547 ): Switch Linux memory usage calculation to match htop.
bug: fix inaccuracy in memory usage/total on macOS and Linux (#545)
Fixes the accuracy of the memory widget for Linux and macOS, and uses binary prefixes instead to be more accurate.
Regarding the first part, it turns out that the way I was calculating memory usage was *slightly* incorrect for a few reasons:
- Regarding macOS, it seems like the way I was determining usage (`usage = total - available`) is not the most accurate. The better way of doing this is apparently `usage = wire + active`, where `wire` is memory always marked to stay in RAM, and `active` is memory currently in RAM. This seems to be much closer to other applications now.
- Regarding Linux, this was somewhat due to two issues - one was that I should have used heim's own built-in function call to get how much memory was *used*, and the other is that when heim reads info from `meminfo`, it reads it in *kilobytes* - however, the values are actually in *kibibytes*. As such, to get the value in kibibytes, you want to actually take it in kilobytes.
While I've filed an issue for the library, for now, I'll just manually bandaid over this. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-proc-meminfo for more info.
Both changes take more advantage of platform-specific methods, and as such, the change unfortunately adds some ugly platform-specific code blocks.
Side note, Windows Task Manager apparently (?) uses binary prefixes for the values behind the scenes, but displays decimal prefixes. As such, now that we've switched to binary prefixes, it'll "seem" like the two aren't matching anymore since the units won't match, despite the values matching.
2021-07-15 22:28:41 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
bug: fix inaccuracy in memory usage/total on macOS and Linux (#545)
Fixes the accuracy of the memory widget for Linux and macOS, and uses binary prefixes instead to be more accurate.
Regarding the first part, it turns out that the way I was calculating memory usage was *slightly* incorrect for a few reasons:
- Regarding macOS, it seems like the way I was determining usage (`usage = total - available`) is not the most accurate. The better way of doing this is apparently `usage = wire + active`, where `wire` is memory always marked to stay in RAM, and `active` is memory currently in RAM. This seems to be much closer to other applications now.
- Regarding Linux, this was somewhat due to two issues - one was that I should have used heim's own built-in function call to get how much memory was *used*, and the other is that when heim reads info from `meminfo`, it reads it in *kilobytes* - however, the values are actually in *kibibytes*. As such, to get the value in kibibytes, you want to actually take it in kilobytes.
While I've filed an issue for the library, for now, I'll just manually bandaid over this. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-proc-meminfo for more info.
Both changes take more advantage of platform-specific methods, and as such, the change unfortunately adds some ugly platform-specific code blocks.
Side note, Windows Task Manager apparently (?) uses binary prefixes for the values behind the scenes, but displays decimal prefixes. As such, now that we've switched to binary prefixes, it'll "seem" like the two aren't matching anymore since the units won't match, despite the values matching.
2021-07-15 22:28:41 +00:00
2021-07-18 17:42:25 +00:00
- [#536 ](https://github.com/ClementTsang/bottom/pull/536 ): Prevent tests from creating a config file.
2021-07-18 01:25:05 +00:00
2022-07-24 10:53:34 +00:00
- [#542 ](https://github.com/ClementTsang/bottom/pull/542 ): Fix missing config options in the default generated config file.
2021-07-18 01:25:05 +00:00
2022-07-24 10:53:34 +00:00
- [#545 ](https://github.com/ClementTsang/bottom/pull/545 ): Fix inaccurate memory usage/totals in macOS and Linux, switch unit to binary prefix.
2021-06-27 20:58:55 +00:00
2021-06-26 18:03:16 +00:00
## [0.6.2] - 2021-06-26
2021-06-21 00:28:44 +00:00
2023-11-21 04:15:14 +00:00
### Features
2021-06-24 03:34:39 +00:00
- [#518 ](https://github.com/ClementTsang/bottom/pull/518 ): Add `F9` key as an alternative process kill key.
2023-11-21 04:15:14 +00:00
### Bug Fixes
2021-06-21 00:28:44 +00:00
2022-07-24 10:53:34 +00:00
- [#504 ](https://github.com/ClementTsang/bottom/pull/504 ): Fix two bugs causing the battery widget colours and mouse events to be broken.
2021-06-21 00:28:44 +00:00
2022-07-24 10:53:34 +00:00
- [#525 ](https://github.com/ClementTsang/bottom/pull/525 ): Fix Windows process CPU usage not being divided by the number of cores.
2021-06-26 06:34:32 +00:00
2023-11-21 04:15:14 +00:00
### Internal Changes
2021-06-27 20:58:55 +00:00
- [#506 ](https://github.com/ClementTsang/bottom/pull/506 ): Migrate a large portion of documentation over to mkdocs.
2021-05-11 23:03:15 +00:00
## [0.6.1] - 2021-05-11
2021-05-11 05:38:36 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2021-05-11 05:38:36 +00:00
- [#473 ](https://github.com/ClementTsang/bottom/pull/473 ): Fix missing string creation for memory usage in collapsed entries.
2021-05-09 21:51:05 +00:00
## [0.6.0] - 2021-05-09
2020-11-28 20:37:06 +00:00
2023-11-21 04:15:14 +00:00
### Features
2020-11-28 20:37:06 +00:00
2022-07-24 10:53:34 +00:00
- [#263 ](https://github.com/ClementTsang/bottom/pull/263 ): Add the option for fine-grained kill signals on Unix-like systems.
2021-02-15 19:12:43 +00:00
2022-07-24 10:53:34 +00:00
- [#333 ](https://github.com/ClementTsang/bottom/pull/333 ): Add an "out of" indicator that can be enabled using `--show_table_scroll_position` (and its corresponding config option) to help keep track of scrolled position.
2020-12-28 19:34:32 +00:00
2022-07-24 10:53:34 +00:00
- [#379 ](https://github.com/ClementTsang/bottom/pull/379 ): Add `--process_command` flag and corresponding config option to default to showing a process' command.
2020-11-28 20:37:06 +00:00
2022-07-24 10:53:34 +00:00
- [#381 ](https://github.com/ClementTsang/bottom/pull/381 ): Add a filter in the config file for network interfaces.
2021-01-01 23:09:28 +00:00
2022-07-24 10:53:34 +00:00
- [#392 ](https://github.com/ClementTsang/bottom/pull/392 ): Add CPU load averages (1, 5, 15) for Unix-based systems.
2021-04-04 09:38:57 +00:00
2022-07-24 10:53:34 +00:00
- [#406 ](https://github.com/ClementTsang/bottom/pull/406 ): Add the Nord colour scheme, as well as a light variant.
2021-01-31 19:19:26 +00:00
2022-07-24 10:53:34 +00:00
- [#409 ](https://github.com/ClementTsang/bottom/pull/409 ): Add `Ctrl-w` and `Ctrl-h` shortcuts in search, to delete a word and delete a character respectively.
2021-02-16 23:07:41 +00:00
2022-07-24 10:53:34 +00:00
- [#413 ](https://github.com/ClementTsang/bottom/pull/413 ): Add mouse support for sorting process columns.
2021-02-28 22:40:55 +00:00
2022-07-24 10:53:34 +00:00
- [#425 ](https://github.com/ClementTsang/bottom/pull/425 ): Add user into the process widget for Unix-based systems.
2021-02-18 22:10:51 +00:00
2021-04-04 09:38:57 +00:00
- [#437 ](https://github.com/ClementTsang/bottom/pull/437 ): Redo dynamic network y-axis, add linear scaling, unit type, and prefix options.
2022-07-24 10:53:34 +00:00
- [#445 ](https://github.com/ClementTsang/bottom/pull/445 ): Add collapsing in tree mode sums usage to parent.
feature: Collapsing in tree mode sums usage to parent (#445)
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-05 05:19:17 +00:00
2023-11-21 04:15:14 +00:00
### Changes
2020-11-28 20:37:06 +00:00
2022-07-24 10:53:34 +00:00
- [#372 ](https://github.com/ClementTsang/bottom/pull/372 ): Hide the SWAP graph and legend in normal mode if SWAP is 0.
2020-12-22 07:21:14 +00:00
2021-01-25 07:21:33 +00:00
- [#390 ](https://github.com/ClementTsang/bottom/pull/390 ): macOS shouldn't need elevated privileges to see CPU usage on all processes now.
- [#391 ](https://github.com/ClementTsang/bottom/pull/391 ): Show degree symbol on Celsius and Fahrenheit.
2021-02-19 06:22:19 +00:00
- [#418 ](https://github.com/ClementTsang/bottom/pull/418 ): Removed automatically jumping to the top of the list for process sort shortcuts. The standard behaviour is to now stay in place.
2021-02-19 22:57:39 +00:00
- [#420 ](https://github.com/ClementTsang/bottom/pull/420 ): Updated tui-rs, allowing for prettier looking tables!
2021-04-04 09:38:57 +00:00
- [#437 ](https://github.com/ClementTsang/bottom/pull/437 ): Add linear interpolation step in drawing step to pr event missing entries on the right side of charts.
2021-05-09 23:21:11 +00:00
- [#443 ](https://github.com/ClementTsang/bottom/pull/443 ): Make process widget consistent with disk widget in using decimal prefixes (kilo, mega, etc.) for writes/reads.
2021-04-04 21:03:52 +00:00
2021-04-09 19:43:34 +00:00
- [#449 ](https://github.com/ClementTsang/bottom/pull/449 ): Add decimal place to actual memory usage in process widget for values greater or equal to 1GiB.
2021-04-09 19:57:54 +00:00
- [#450 ](https://github.com/ClementTsang/bottom/pull/450 ): Tweak `default-light` colour scheme to look less terrible on white terminals.
2021-04-09 20:14:01 +00:00
- [#451 ](https://github.com/ClementTsang/bottom/pull/451 ): Add decimal place to disk values larger than 1GB for total read/write in process widgets, and read/write per second in process widgets and disk widgets.
2022-07-24 10:53:34 +00:00
- [#455 ](https://github.com/ClementTsang/bottom/pull/455 ): Add a mount point filter for the disk widget. Also tweaked how the filter system works - see the PR for details.
feature: Add mount filtering, rework filter priority logic (#455)
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-23 03:43:12 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2021-02-19 00:15:07 +00:00
2022-07-24 10:53:34 +00:00
- [#416 ](https://github.com/ClementTsang/bottom/pull/416 ): Fix grouped vs ungrouped modes in the processes widget having inconsistent spacing.
2021-02-19 00:15:07 +00:00
2022-07-24 10:53:34 +00:00
- [#417 ](https://github.com/ClementTsang/bottom/pull/417 ): Fix the sort menu and sort shortcuts not syncing up.
2021-02-19 06:02:21 +00:00
2022-07-24 10:53:34 +00:00
- [#423 ](https://github.com/ClementTsang/bottom/pull/423 ): Fix disk encryption causing the disk widget to fail or not properly map I/O statistics.
2021-02-25 01:23:35 +00:00
2021-02-28 22:40:55 +00:00
- [#425 ](https://github.com/ClementTsang/bottom/pull/425 ): Fixed a bug allowing grouped mode in tree mode if already in grouped mode.
2021-05-09 05:39:42 +00:00
- [#467 ](https://github.com/ClementTsang/bottom/pull/467 ): Switched CPU usage data source to fix a bug on Windows where occasionally CPU usage would be stuck at 0%.
2021-01-31 01:26:34 +00:00
## [0.5.7] - 2021-01-30
2021-01-25 07:21:33 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-11-28 20:37:06 +00:00
2022-07-24 10:53:34 +00:00
- [#373 ](https://github.com/ClementTsang/bottom/pull/373 ): Fix incorrect colours being used the CPU widget in basic mode.
2020-12-22 07:21:14 +00:00
2022-07-24 10:53:34 +00:00
- [#386 ](https://github.com/ClementTsang/bottom/pull/386 ): Fix `hide_table_gap` not working in the battery widget.
2021-01-06 03:21:27 +00:00
2022-07-24 10:53:34 +00:00
- [#389 ](https://github.com/ClementTsang/bottom/pull/389 ): Fix the sorting arrow disappearing in proc widget under some cases.
2021-01-13 02:41:59 +00:00
2022-07-24 10:53:34 +00:00
- [#398 ](https://github.com/ClementTsang/bottom/pull/398 ): Fix basic mode failing to report CPUs if there are less than 4 entries to report.
2021-01-25 07:21:33 +00:00
2020-12-17 23:42:08 +00:00
## [0.5.6] - 2020-12-17
2020-12-17 22:57:38 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-12-17 22:57:38 +00:00
2022-07-24 10:53:34 +00:00
- [#361 ](https://github.com/ClementTsang/bottom/pull/361 ): Fix temperature sensors not working on non-Linux platforms.
2020-12-17 22:57:38 +00:00
2020-12-15 05:05:18 +00:00
## [0.5.5] - 2020-12-14
2020-12-11 21:14:17 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-12-11 21:14:17 +00:00
2022-07-24 10:53:34 +00:00
- [#349 ](https://github.com/ClementTsang/bottom/pull/349 ): Fix CPU graph colours not matching the legend in the "all" state.
2020-12-11 21:14:17 +00:00
2020-12-11 03:57:54 +00:00
## [0.5.4] - 2020-12-10
2020-12-10 05:03:55 +00:00
2023-11-21 04:15:14 +00:00
### Changes
2020-12-10 05:03:55 +00:00
2020-12-11 03:57:54 +00:00
- [#344 ](https://github.com/ClementTsang/bottom/pull/344 ): Removed the `--debug` option for now.
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-12-10 05:03:55 +00:00
2022-07-24 10:53:34 +00:00
- [#344 ](https://github.com/ClementTsang/bottom/pull/344 ): Fix a performance regression causing high memory and CPU usage over time.
2020-12-11 03:29:25 +00:00
2022-07-24 10:53:34 +00:00
- [#345 ](https://github.com/ClementTsang/bottom/pull/345 ): Fix process states not showing.
2020-12-10 05:03:55 +00:00
2020-11-27 00:14:27 +00:00
## [0.5.3] - 2020-11-26
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-11-27 00:14:27 +00:00
2022-07-24 10:53:34 +00:00
- [#331 ](https://github.com/ClementTsang/bottom/pull/331 ): Fix custom battery colour levels being inverted.
2020-11-27 00:14:27 +00:00
2020-11-26 01:39:37 +00:00
## [0.5.2] - 2020-11-25
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-11-26 01:39:37 +00:00
2022-07-24 10:53:34 +00:00
- [#327 ](https://github.com/ClementTsang/bottom/pull/327 ): Fix `hide_avg_cpu` being inverted in config files.
2020-11-26 01:39:37 +00:00
2020-11-21 20:31:19 +00:00
## [0.5.1] - 2020-11-22
2020-11-18 06:28:53 +00:00
2023-11-21 04:15:14 +00:00
### Bug Fixes
2020-11-21 20:31:19 +00:00
- [6ef1d66 ](https://github.com/ClementTsang/bottom/commit/6ef1d66b2bca49452572a2cabb87d338dcf56e7b ): Remove nord as a valid colour for now.
- [e04ce4f ](https://github.com/ClementTsang/bottom/commit/e04ce4fa1b42e99f00cf8825bcd58da43552214e ): Fix `--use_old_network_legend` .
2020-11-18 06:28:53 +00:00
2020-11-21 20:31:19 +00:00
- [99d0402 ](https://github.com/ClementTsang/bottom/commit/99d04029f0ebfc73d36adb06ea58ad68f090017c ): Fix config detection for built-in colours.
2020-11-18 06:28:53 +00:00
2020-11-20 19:47:55 +00:00
## [0.5.0] - 2020-11-20
2020-05-02 03:53:29 +00:00
2020-08-28 20:30:24 +00:00
### Features
- [#206 ](https://github.com/ClementTsang/bottom/pull/206 ): Adaptive network graphs --- prior to this update, graphs were stuck at a range from 0B to 1GiB. Now, they adjust to your current usage and time span, so if you're using, say, less than a MiB, it will cap at a MiB. If you're using 10GiB, then the graph will reflect that and span to a bit greater than 10GiB.
2020-08-29 22:54:18 +00:00
- [#208 ](https://github.com/ClementTsang/bottom/pull/208 ): Mouse support for tables and moving to widgets.
2020-09-11 08:20:14 +00:00
- [#217 ](https://github.com/ClementTsang/bottom/pull/217 ): (Kinda) ARM support.
2020-09-03 02:02:49 +00:00
- [#220 ](https://github.com/ClementTsang/bottom/pull/220 ): Add ability to hide specific temperature and disk entries via config.
2022-07-24 10:53:34 +00:00
- [#223 ](https://github.com/ClementTsang/bottom/pull/223 ): Add tree mode for processes.
- [#312 ](https://github.com/ClementTsang/bottom/pull/312 ): Add a `tree` flag to default to the tree mode.
2020-09-07 03:03:03 +00:00
2020-10-18 03:26:03 +00:00
- [#269 ](https://github.com/ClementTsang/bottom/pull/269 ): Add simple indicator for when data updating is frozen.
2020-11-15 10:16:47 +00:00
- [#296 ](https://github.com/ClementTsang/bottom/pull/296 ): Built-in colour themes.
2022-07-24 10:53:34 +00:00
- [#309 ](https://github.com/ClementTsang/bottom/pull/309 ): Add a `mem_as_value` flag to default displaying process memory as value rather than percentage.
2020-11-19 05:28:04 +00:00
2020-08-28 20:30:24 +00:00
### Changes
2020-08-31 22:57:01 +00:00
- [#213 ](https://github.com/ClementTsang/bottom/pull/213 ), [#214 ](https://github.com/ClementTsang/bottom/pull/214 ): Updated help descriptions, added auto-complete generation.
2023-11-15 08:03:48 +00:00
- [#296 ](https://github.com/ClementTsang/bottom/pull/296 ): Changed how we do battery theming. We now only set high, medium, and low colours, and we deal with the ratios.
2020-11-15 10:16:47 +00:00
2020-08-28 20:30:24 +00:00
### Bug Fixes
2022-07-24 10:53:34 +00:00
- [#211 ](https://github.com/ClementTsang/bottom/pull/211 ): Fix a bug where you could move down in the process widget even if the process widget search was closed.
2020-08-29 08:06:21 +00:00
2020-09-01 00:02:48 +00:00
- [#215 ](https://github.com/ClementTsang/bottom/pull/215 ): Add labels to Linux temperature values.
2020-09-06 06:16:50 +00:00
- [#224 ](https://github.com/ClementTsang/bottom/pull/224 ): Implements sorting by count. It previously did absolutely nothing.
2020-09-27 18:23:18 +00:00
- [#238 ](https://github.com/ClementTsang/bottom/pull/238 ): 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.
- [#238 ](https://github.com/ClementTsang/bottom/pull/238 ): Fixed not clearing screen before drawing, which caused issues for some environments.
2020-09-27 00:04:34 +00:00
- [#253 ](https://github.com/ClementTsang/bottom/pull/253 ): Fix highlighted entries being stuck in another colour when the widget is not selected.
2020-10-13 06:45:01 +00:00
- [#253 ](https://github.com/ClementTsang/bottom/pull/253 ), [#266 ](https://github.com/ClementTsang/bottom/pull/266 ): Expanding a widget no longer overrides the widget/dialog title colour.
2020-09-27 00:04:34 +00:00
2020-10-01 05:46:09 +00:00
- [#261 ](https://github.com/ClementTsang/bottom/pull/261 ): Fixed process names occasionally showing up as truncated, due to only using `/proc/<PID>/stat` as our data source.
2020-10-03 02:12:07 +00:00
- [#262 ](https://github.com/ClementTsang/bottom/pull/262 ): Fixed missing thread termination steps as well as improper polling causing blocking in input thread.
2020-11-03 01:59:54 +00:00
- [#289 ](https://github.com/ClementTsang/bottom/pull/289 ): Fixed the CPU basic widget showing incorrect data due to an incorrect offset when displaying the data.
- [#290 ](https://github.com/ClementTsang/bottom/pull/290 ): Fixed an incorrect offset affecting the CPU colour when scrolling.
2020-11-03 03:39:02 +00:00
- [#291 ](https://github.com/ClementTsang/bottom/pull/291 ): Fixed spacing problems in basic CPU mode.
2020-11-15 10:16:47 +00:00
- [#296 ](https://github.com/ClementTsang/bottom/pull/296 ): Fixed an incorrect offset affecting the graph CPU colour mismatching the legend.
- [#296 ](https://github.com/ClementTsang/bottom/pull/296 ): Removes an accidental extra comma in one of the headers in the disk widget.
2020-11-19 01:00:31 +00:00
- [#308 ](https://github.com/ClementTsang/bottom/pull/308 ): Removes the automatically generated CPU colours method.
2020-08-27 00:32:18 +00:00
## [0.4.7] - 2020-08-26
### Bug Fixes
- [#204 ](https://github.com/ClementTsang/bottom/pull/204 ): Fix searching by command name being broken.
2020-08-25 05:24:04 +00:00
## [0.4.6] - 2020-08-25
2020-08-07 08:31:28 +00:00
### Features
2020-08-17 00:53:34 +00:00
- [#179 ](https://github.com/ClementTsang/bottom/pull/179 ): Show full command/process path as an option.
2020-08-07 08:31:28 +00:00
2020-08-17 00:53:34 +00:00
- [#183 ](https://github.com/ClementTsang/bottom/pull/183 ): Added sorting capabilities to any column.
2020-08-16 00:35:49 +00:00
2020-08-25 05:01:14 +00:00
- [#188 ](https://github.com/ClementTsang/bottom/pull/188 ): Add (estimated) memory usage values, toggle this from percent to values for processes with `%` .
2020-08-22 19:38:13 +00:00
2020-08-25 05:01:14 +00:00
- [#196 ](https://github.com/ClementTsang/bottom/pull/196 ): Support searching processes by process state.
2020-08-22 19:38:13 +00:00
2020-08-12 01:19:55 +00:00
- Added `WASD` as an alternative widget movement system.
2020-08-25 05:24:04 +00:00
- [#198 ](https://github.com/ClementTsang/bottom/pull/198 ): Allow `e` to also escape expanded mode.
### Changes
2020-08-25 05:01:14 +00:00
- [#181 ](https://github.com/ClementTsang/bottom/pull/181 ): Changed to just support stable (and newer) Rust, due to library incompatibilities.
2020-08-12 00:22:39 +00:00
2020-08-25 05:01:14 +00:00
- [#182 ](https://github.com/ClementTsang/bottom/pull/182 ): 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.
2020-08-12 06:15:57 +00:00
2020-08-12 01:19:55 +00:00
### Bug Fixes
2020-08-17 00:53:34 +00:00
- [#183 ](https://github.com/ClementTsang/bottom/pull/183 ): Fixed bug in basic mode where the battery widget was placed incorrectly.
2020-08-16 00:35:49 +00:00
2020-08-17 00:53:34 +00:00
- [#186 ](https://github.com/ClementTsang/bottom/pull/186 ): Fixed a bug caused by hitting `Enter` when a process kill fails, breaking future process kills.
- [#187 ](https://github.com/ClementTsang/bottom/pull/187 ): Fix bug caused by incorrectly reading the `/proc/{pid}/stats` file.
2020-08-16 06:56:54 +00:00
2020-07-08 19:14:51 +00:00
## [0.4.5] - 2020-07-08
2023-11-21 05:25:25 +00:00
- No changes in this update, just an uptick for Crates.io using the wrong Cargo.lock.
2020-07-08 19:14:51 +00:00
2020-07-06 05:09:01 +00:00
## [0.4.4] - 2020-07-06
2020-05-02 03:53:29 +00:00
### Features
2020-08-17 19:41:37 +00:00
- [#114 ](https://github.com/ClementTsang/bottom/pull/114 ): Show process state per process (originally in 0.4.0, moved to later). This only shows if the processes are not merged together; I couldn't think of a nice way to show it when grouped together, unfortunately.
2020-05-17 02:38:19 +00:00
### Changes
2023-11-15 08:03:48 +00:00
- [#156 ](https://github.com/ClementTsang/bottom/issues/156 ) - Removal of the `/` CPU core showing in the chart. It felt clunky to use, was not really useful, and hard to work with large core counts.
2020-05-21 01:10:25 +00:00
2020-05-17 02:38:19 +00:00
Furthermore:
- `show_disabled_data` option and flag is removed.
2020-05-21 01:10:25 +00:00
- Average CPU is now on by _default_ . You can disable it via `-a, --hide_avg_cpu` or `hide_avg_cpu = true` .
2020-05-09 18:54:23 +00:00
2020-05-22 02:25:44 +00:00
- Make highlighted CPU persist even if widget is not selected - this should help make it easier to know what CPU you are looking at even if you aren't currently on the CPU widget.
2020-05-19 03:36:06 +00:00
2020-05-21 18:02:49 +00:00
### Bug Fixes
2020-05-22 02:25:44 +00:00
- [#164 ](https://github.com/ClementTsang/bottom/issues/164 ) - Fixed a bug where bottom would incorrectly read the wrong values to calculate the read/write columns for processes in Linux.
2020-05-21 18:02:49 +00:00
2020-05-22 02:25:44 +00:00
- [#165 ](https://github.com/ClementTsang/bottom/issues/165 ) - Fixed a bug where OR operations in the process query wouldn't properly for some cases.
2020-07-06 05:09:01 +00:00
- The process query should hopefully be a bit more usable now. There were issues with how spaces (which are treated as an AND if it was between keywords, so something like `btm cpu > 0 mem > 0` would look for a process named `btm` with cpu usage > 0 and mem usage > 0). This has been hopefully improved.
2020-05-22 01:40:40 +00:00
2020-05-15 04:00:02 +00:00
## [0.4.3] - 2020-05-15
### Other
- Update sysinfo version that fixes an overflow issue.
2020-05-12 02:53:17 +00:00
## [0.4.2] - 2020-05-11
2020-05-11 05:32:39 +00:00
2020-05-09 18:54:23 +00:00
### Changes
2020-05-09 20:23:15 +00:00
- Automatically hide time axis labels if the widget gets too small.
- Automatically hide table gap if the widget gets too small.
2020-05-09 18:54:23 +00:00
### Bug Fixes
- The `<Space>` character can be used as an "AND" again (properly) in queries. For example:
```bash
(btm cpu > 0) (discord mem > 0)
```
is equivalent to:
```bash
(btm AND cpu > 0) AND (discord AND mem > 0)
```
2020-05-02 03:53:29 +00:00
2020-05-12 02:48:37 +00:00
- [#151 ](https://github.com/ClementTsang/bottom/issues/151 ) - Fixed an issue where if the drive I/O label didn't match any disk, the entire disk widget would display nothing.
2020-05-12 02:53:17 +00:00
- Display SWAP and MEM legends even if the total amount is 0 to avoid a weird blank spot in the legend.
2020-05-05 21:56:01 +00:00
## [0.4.1] - 2020-05-05
### Bug Fixes
- [#146 ](https://github.com/ClementTsang/bottom/pull/146 ): Fixed a typo in the help menu (credit to [HarHarLinks ](https://github.com/HarHarLinks )).
2020-05-05 01:48:33 +00:00
## [0.4.0] - 2020-05-04
2020-04-11 00:18:26 +00:00
### Features
2020-04-27 20:00:16 +00:00
- [#58 ](https://github.com/ClementTsang/bottom/issues/58 ): I/O stats per process.
2020-04-11 00:18:26 +00:00
2020-04-27 20:00:16 +00:00
- [#55 ](https://github.com/ClementTsang/bottom/issues/55 ): Battery monitoring widget.
2020-04-17 00:06:50 +00:00
2020-04-30 19:29:36 +00:00
- [#134 ](https://github.com/ClementTsang/bottom/pull/134 ): `hjkl` movement to delete dialog (credit to [andys8 ](https://github.com/andys8 )).
- [#59 ](https://github.com/ClementTsang/bottom/issues/59 ): `Alt-h` and `Alt-l` to move left/right in query (and rest of the app actually).
2020-05-05 01:50:53 +00:00
- [#59 ](https://github.com/ClementTsang/bottom/issues/59 ): Added a more advanced querying system.
2020-04-12 22:27:58 +00:00
### Changes
2020-04-18 23:50:31 +00:00
- Changed default colours for highlighted borders and table headers to light blue - this is mostly to deal with Powershell colour conflicts.
2020-04-12 22:27:58 +00:00
2020-04-17 00:06:50 +00:00
- Updated the widget type keyword list to accept the following keywords as existing types:
2020-04-18 22:08:05 +00:00
2020-04-17 00:06:50 +00:00
- `"memory"`
- `"network"`
- `"process"`
- `"processes"`
- `"temperature"`
2020-04-18 22:08:05 +00:00
- [#117 ](https://github.com/ClementTsang/bottom/issues/117 ): Update tui to 0.9:
2020-04-24 23:17:58 +00:00
- Removed an (undocumented) feature in allowing modifying total RX/TX colours. This is mainly due to the legend change.
2020-04-18 22:08:05 +00:00
- Use custom legend-hiding to stop hiding legends for memory and network widgets.
2020-04-19 00:42:28 +00:00
- In addition, changed to using only legends within the graph for network, as well as redesigned the legend.
2020-04-20 04:29:59 +00:00
The old legend style can still be used via the `--use_old_network_legend` flag or `use_old_network_legend = true` config option.
2020-04-18 23:54:35 +00:00
2020-04-20 04:29:59 +00:00
- Allow for option to hide the header gap on tables via `--hide_table_gap` or `hide_table_gap = true` .
2020-04-24 23:17:58 +00:00
- [#126 ](https://github.com/ClementTsang/bottom/pull/126 ): Updated error messages to be a bit more consistent/helpful.
2020-04-20 04:29:59 +00:00
2020-04-29 02:46:48 +00:00
- [#70 ](https://github.com/ClementTsang/bottom/issues/70 ): Redesigned help menu to allow for scrolling.
2020-04-19 02:54:35 +00:00
2020-04-30 03:52:25 +00:00
- [#59 ](https://github.com/ClementTsang/bottom/issues/59 ): Moved maximization key to `e` , renamed feature to _expanding_ the widget. Done to allow for the `<Enter>` key to be used later for a more intuitive usage.
2020-04-12 23:26:32 +00:00
### Bug Fixes
- Fixed `dd` not working on non-first entries.
2020-04-17 00:06:50 +00:00
- Fixed bug where a single empty row as a layout would crash without a proper warning.
The behaviour now errors out with a more helpful message.
2020-04-27 20:00:16 +00:00
- Fixed bug where empty widgets in layout would cause widget movement to not work properly when moving vertically.
2023-11-21 05:25:25 +00:00
### Internal changes
2020-04-24 23:17:58 +00:00
2020-04-29 02:46:48 +00:00
- [#38 ](https://github.com/ClementTsang/bottom/issues/38 ): Updated arg tests and added config testing.
2020-04-23 19:43:09 +00:00
2020-05-04 21:45:06 +00:00
- Add MSRV, starting with 1.40.0.
2020-04-23 19:43:09 +00:00
2020-04-08 03:32:16 +00:00
## [0.3.0] - 2020-04-07
2020-04-06 03:40:49 +00:00
### Features
- [#20 ](https://github.com/ClementTsang/bottom/issues/20 ): Time scaling was added to allow users to zoom in/out based on their desired time intervals. Time markers on the charts can be hidden or automatically hidden.
- [#37 ](https://github.com/ClementTsang/bottom/issues/37 ): Automatically populate a config file if one does not exist.
- [#21 ](https://github.com/ClementTsang/bottom/issues/21 ): Basic mode added.
- [#51 ](https://github.com/ClementTsang/bottom/issues/51 ): Modularity with widget placement or inclusion added.
### Changes
- Removed redundant dependencies.
- [#17 ](https://github.com/ClementTsang/bottom/issues/17 ): Add colouring options to the total RX/TX labels.
- [#29 ](https://github.com/ClementTsang/bottom/issues/29 ): Added `F1-F3` keys as alternatives for selecting search options
- [#42 ](https://github.com/ClementTsang/bottom/issues/42 ), [#45 ](https://github.com/ClementTsang/bottom/issues/45 ), [#35 ](https://github.com/ClementTsang/bottom/issues/35 ): Change the arrow used for sorting processes to work with other terminals.
- [#61 ](https://github.com/ClementTsang/bottom/issues/61 ): Search box changed to not block if the window is small.
- [#40 ](https://github.com/ClementTsang/bottom/issues/40 ): Rewrote README to be more clear and explicit.
2020-04-08 01:42:57 +00:00
- [#109 ](https://github.com/ClementTsang/bottom/issues/109 ): Sorting processes by name is case-insensitive.
2020-04-06 03:40:49 +00:00
### Bug Fixes
- [#33 ](https://github.com/ClementTsang/bottom/issues/33 ): Fix bug with search and graphemes bigger than a byte crashing due to the cursor.
2023-11-15 08:03:48 +00:00
- [#41 ](https://github.com/ClementTsang/bottom/issues/41 ): Fix bug that caused the cursor to go off-screen while searching.
2020-04-06 03:40:49 +00:00
- [#61 ](https://github.com/ClementTsang/bottom/issues/61 ): Dialog boxes set to be a constant width/height.
- [#80 ](https://github.com/ClementTsang/bottom/issues/80 ): Fix bug with resizing and scrolling causing issues with tables.
- [#77 ](https://github.com/ClementTsang/bottom/issues/77 ): Fixed hidden CPU entries from being scrolled to.
- [#79 ](https://github.com/ClementTsang/bottom/issues/79 ): Fixed CPU entries being a different colour if the one above it was hidden.
- [#85 ](https://github.com/ClementTsang/bottom/pull/85 ): A div-by-zero error when the memory values were zero was fixed.
### Other
- Various Travis changes.
- Scoop install option added.
## [0.2.2] - 2020-02-26
### Features
- Added support for colouring the average CPU core separately in config files.
- [#15 ](https://github.com/ClementTsang/bottom/issues/15 ) - Added support for (some) named colours and RGB values in config files.
### Bug Fixes
- [#28 ](https://github.com/ClementTsang/bottom/issues/30 ): Fixed broken Cargo.toml for Cargo installs.
- Fixed Windows issue with shift key.
- [#14 ](https://github.com/ClementTsang/bottom/issues/14 ): Ignore certain characters in search
## [0.2.1] - 2020-02-21
### Bug Fixes
- [#14 ](https://github.com/ClementTsang/bottom/issues/11 ): Fixed default config paths not being read properly.
## [0.2.0] - 2020-02-20
### Features
- Searching in processes was added.
- The option of a config file was added. Config files follow the TOML spec. These support boot flags by default, and colour schemes.
- The capability of maximizing a widget to take up all draw space was added.
- Filtering out CPU cores on the graph/legend was added.
### Changes
- Default colours were changed for better support on macOS Terminal and PowerShell.
- Rewrote and refactored how I get data to be less spaghetti. This might also have the added benefit of running better, with less duplicated logic.
- Changed how the dd dialog and help dialog look. Hopefully they'll be nicer to look at and more intuitive to use!
### Bug Fixes
- [#2 ](https://github.com/ClementTsang/bottom/issues/2 ): Fixed issues where the program would crash if the window was too small.
- Added a panic handler so terminals won't get all broken if a panic _does_ still occur.
- Fixed some sizing issues, hopefully this means that it's still readable at smaller sizes (within reason).
- [#10 ](https://github.com/ClementTsang/bottom/issues/10 ): Fixed scroll issue caused by resizing.
## [0.1.2] - 2020-01-11
### Changes
- Added a bit more complexity to how we determine column widths for tables. This should fix an issue where columns would glitch out at smaller widths, and hopefully look nicer.
### Bug Fixes
- Rewrote scroll logic in tables to avoid some strange scroll behaviour I encountered where it would jump around.
- Attempt to patch a panic caused by the change in how we determine time in the data collection stage.
## [0.1.1] - 2020-01-11
### Features
- `Tab` in the processes widget will now group similarly-named processes together (as well as their total CPU and MEM usage). `dd` -ing this will try to kill all entries with that process name.
- A flag to enable this by default is also now available.
### Bug Fixes
- Accidentally left in a bug in which the disk widget was using megabytes instead of bytes as their unit during data collection... but during data conversion for the display I treated them as bytes.
## [0.1.0] - 2020-01-11
Initial release.