Age | Commit message (Collapse) | Author |
|
* Temporarily disable UI tests
- Too many sporadic errors occlude actual problems; see #400
- These tests will be re-enabled once the big refactor is complete
* Write changelog
|
|
* Fix Windows FP discrepancy issue in test
* Write changelog
|
|
* Support build for target_os android
The target_os `android` is quite similar to `linux` but must be
mentioned in the guards explicitly. Tested for target
`aarch64-linux-android`.
* Add target aarch64-linux-android to ci
Use `cross` for building target `aarch64-linux-android`. In the `ci`
workflow the matrix branch of `os` `ubuntu-latest` is used because the
matrix organization is host os centric instead of target.
Releases are build with `cross` for target `aarch64-linux-android`.
Install `cross` if needed for a run. At the time of writing the latest
release of `cross` can't build binaries for target
`aarch64-linux-android` and it's common sense that the latest git tag or
`master` shall be used [1].
[1] https://github.com/cross-rs/cross/issues/1222
* Add android related readme section
|
|
* Fix IPv6 socket detect logic
* Write changelog
|
|
* fix: clippy warnings
* Additional fix
* Write changelog
---------
Co-authored-by: Krithic Kumar <krithickumarub@protonmail.com>
|
|
* Revert 89e1140
- simplelog is already thread safe
- see https://github.com/Drakulix/simplelog.rs/issues/146
* Write changelog
* Fix import for MacOS
|
|
* feat: add `PID` column to `Process` table
* fix(tests): populate fake data with the correct `ProcessInfo` type
* test: update snapshots
* refactor: use more idiomatic rust
* refactor: rename function from `get_proc_name` to `get_proc_info`
* refactor: only display PID when width available is highest
ref: https://github.com/imsnif/bandwhich/pull/165#issuecomment-620852892
* tests: update snapshots
* chore: update CHANGELOG
* fix: clippy warnings
* Revert "fix: clippy warnings"
This reverts commit e5f06cba1943d60b43a19957c42e3178c6916f69.
We will do this separately for the sake of keeping a clean history
* refactor: use `u32` for PID
* refactor: more idiomatic rust
---------
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
|
|
* chore(deps): bump ratatui from 0.25.0 to 0.26.1
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ratatui-org/ratatui/compare/v0.25.0...v0.26.1)
---
updated-dependencies:
- dependency-name: ratatui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use legacy layout (for now)
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
|
|
* Remove redundant imports
- Now linted by clippy in 1.78
- See https://github.com/rust-lang/rust/pull/117772
* Write changelog
* Remove Windows-only redundant imports in build script
|
|
* Generate completion & manpage
* Write changelog
|
|
|
|
* chore(deps): bump ratatui from 0.24.0 to 0.25.0
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ratatui-org/ratatui/compare/v0.24.0...v0.25.0)
---
updated-dependencies:
- dependency-name: ratatui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update API changes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
|
|
* added interface names
* some fixes
* Set interface name in UI only once
* Code style
* Add changelog entry
---------
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
|
|
* Allow selecting unit families
- Supported units are {binary,SI}-{bytes,bits}
* Fix typo
* Better error msg in the unreachable case
* - I can't believe I did this. Frankly, terrible.
* Add unit test
* Add peta&pebi units to be absolutely future-proof
* Minor code style improvement
|
|
|
|
* Refactor & reorganisation of `get_proc_name`
* Log both src & dst when we fail to resolve connection to process
- Per recommendation in https://github.com/imsnif/bandwhich/issues/196#issuecomment-1763278674
|
|
|
|
|
|
- Build regex only once using `once_cell::sync::Lazy`
- Reduce code duplication
|
|
- Also denies `enum_glob_use`
|
|
* Refactor `OsInputOutput` (combine interfaces & frames into single Vec)
* Add note on handling a separate failure case
* Reduce code duplication
|
|
* Make logging race-free using a global lock & macro
* Fix clippy complaint
* Fix import for MacOS
* Make `mt_log` expand to an expression
|
|
* Table formatting logic overhaul
- Columns now auto-expand and auto-shrink proportionally
- Data column selection logic is now set per-table
- Necessary boilerplate added to allow tables with more (or fewer) columns in the future
* Better naming: `TableLayout` -> `DisplayLayout`
* Fix clippy complaints
* Optimise layout cutoff widths
- These values are pretty much arbitrary. I'm open to further optimising them in the future.
* Updated test snapshots to match new layout settings
* Remove unnecessary logging
* Correct `debug_fn` impl for `column_selector`
* Further optimise bandwidth column display
* Update test snapshots
* Layout width preset minor adjustment
|
|
* Minor code style changes
* Disable rendering of timestamps in tests
* Update test snapshots
* Test everything with insta macros (no more `assert(_eq)?`)
- This has the benefit of creating snapshots for everything, allowing for later diffing
* Don't use `assert_debug_snapshot` for large string outputs
- This makes snapshots more human-inspectable
* Code style improvement on two tests
- `pause_by_space`
- `rearranged_by_tab`
* Minor code style improvements
|
|
|
|
|
|
|
|
|
|
|
|
* Ignore connections that fail parsing instead of panicking on BSD
- Tentative fix for #217
* Log when a connection fails parsing
- I actually love unreadable code
* Fix clippy complaint
|
|
|
|
* Add logging dependencies
* Initialise logging
|
|
|
|
|
|
* Move CLI structs to their own file
* `main` returns `Result` directly
* Slightly reduced nesting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* migrate structopt to clap
* add a entry in changelog
* Move changelog entry from `Added` to `Fixed`
---------
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|