110 Commits

Author SHA1 Message Date
cyqsimon
719ae8ac63 Apply clippy lint available with MSRV 1.82.0, #2 2025-07-10 11:59:23 +08:00
cyqsimon
138a86baa9 Write changelog 2025-07-10 11:14:15 +08:00
cyqsimon
d769ab18a9 Write changelog 2025-02-04 18:27:45 +08:00
cyqsimon
4b571d8659 Write changelog 2025-02-04 18:21:48 +08:00
cyqsimon
e77d7b42d1 Write changelog 2024-12-16 15:03:38 +08:00
cyqsimon
b0bbf44559 Write changelog 2024-12-03 14:22:22 +08:00
Yashodhan Joshi
d7761ad094 update Changelog
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-10-17 10:15:29 +05:30
cyqsimon
6f0778f2e2 Write changelog 2024-10-09 23:45:02 +08:00
cyqsimon
a06ba84b58 Write changelog 2024-10-09 12:36:09 +08:00
cyqsimon
cd81be8c61 Fix changelog
- 0.23.1 section added retroactively
- Incorrect title levels fixed
2024-10-09 12:34:45 +08:00
pando85
8f3a8cfc02 Add build optimizations for release binary (#434)
* Add build optimizations for release binary

* Put changelog entry in `Changed` section

---------

Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2024-10-08 23:09:17 +08:00
cyqsimon
0f411524d8 Write changelog 2024-10-08 14:51:29 +08:00
cyqsimon
a1923df631 Write changelog 2024-10-08 14:38:29 +08:00
cyqsimon
70822fc970 Write changelog 2024-10-08 11:24:49 +08:00
cyqsimon
1ca69e0691 CI: Use Powershell Compress-Archive to create Windows binary zip (#424)
* CI: Use Powershell Compress-Archive to create Windows binary zip

- Fixes #423

* Write changelog
2024-08-18 16:29:49 +08:00
cyqsimon
eb74967911 Bump version to 0.23.0
- Closes #422
2024-08-17 16:01:45 +08:00
cyqsimon
c255c084f6 Update usage in README (#409)
* Update usage

* Write changelog
2024-04-17 10:07:58 +08:00
cyqsimon
13ef09aefd CI: use sccache to speed up CI (#408)
* CI: use sccache to speed up CI

* Write changelog

* Only use sccache for non-cross targets
2024-04-16 19:49:53 +08:00
cyqsimon
f98c5c9cd6 Update README (#407)
* Update README

* Write changelog
2024-04-16 16:04:16 +08:00
cyqsimon
3f649590f7 CI: Enable more cross-compiled builds (#401)
* CI: Enable more aarch64 builds

* Use cross for linux-aarch64-* builds

* Use `macos-14` explicitly for now

- https://github.com/orgs/community/discussions/116911
- https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

* Add targets in release.yaml

* Write changelog

* Fix typo

* Passthrough `BANDWHICH_GEN_DIR` into cross container

* Add armv7 targets
2024-04-16 14:39:35 +08:00
cyqsimon
d9fa0894a3 Temporarily disable UI tests (#406)
* 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
2024-04-16 10:36:32 +08:00
Christian Clauss
944d8b3d86 Keep GitHub Actions up to date with GitHub's Dependabot (#403)
* Keep GitHub Actions up to date with GitHub's Dependabot

* [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot)
* [Configuration options for the dependabot.yml file - package-ecosystem](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem)

* Write changelog

---------

Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2024-04-15 22:51:34 +08:00
cyqsimon
1ce0311c23 CI: Remove musl-tools install step (#402)
* Test: what if we don't install MUSL tools?

* Write changelog
2024-04-15 18:04:55 +08:00
cyqsimon
2ac352d490 Fix Windows FP discrepancy issue in test (#400)
* Fix Windows FP discrepancy issue in test

* Write changelog
2024-04-15 16:32:44 +08:00
cyqsimon
86a17cb002 CI refactor (#399)
* CI refactor

* Don't error when no bandwhich stderr files are found

* Specify explicit target when running tests

* Fix typo

* Set `--color never` correctly for tests

* Unset `--color never`

- because the extraneous escape characters don't seem to be related to colours

* Write changelog
2024-04-15 15:07:54 +08:00
Felix Obenhuber
9354683481 Enable Android build (#384)
* 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
2024-04-02 17:39:24 +08:00
cyqsimon
b857adc169 CI: Configure dependabot grouping (#395)
* CI: Configure dependabot grouping

* Write changelog
2024-04-01 10:33:20 +08:00
cyqsimon
7dbd3719e7 Fix IPv6 socket detect logic (#383)
* Fix IPv6 socket detect logic

* Write changelog
2024-03-25 20:30:13 +08:00
cyqsimon
451daea0ac Apply suggestions from new clippy lint clippy::assigning_clones (#382)
* fix: clippy warnings

* Additional fix

* Write changelog

---------

Co-authored-by: Krithic Kumar <krithickumarub@protonmail.com>
2024-03-25 13:42:17 +08:00
cyqsimon
32506e7f24 Remove unnecessary logging synchronisation (#381)
* Revert 89e1140

- simplelog is already thread safe
- see https://github.com/Drakulix/simplelog.rs/issues/146

* Write changelog

* Fix import for MacOS
2024-03-25 13:20:12 +08:00
Krithic Kumar
1997bce393 feat: add PID column to Process table (#379)
* 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 e5f06cba19.
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>
2024-03-18 13:29:47 +08:00
dependabot[bot]
84b1821858 chore(deps): bump clap from 4.4.18 to 4.5.1 (#373)
* chore(deps): bump clap from 4.4.18 to 4.5.1

Bumps [clap](https://github.com/clap-rs/clap) from 4.4.18 to 4.5.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.18...clap_complete-v4.5.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com># Last 10 commits:

* Bump MSRV to 1.74

---------

Signed-off-by: dependabot[bot] <support@github.com># Last 10 commits:
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2024-03-01 20:24:31 +08:00
cyqsimon
1319437388 CI: use GitHub API to exempt dependabot from changelog requirement (#378)
* CI: use GitHub API to exempt dependabot from changelog requirement

* Write changelog
2024-03-01 17:42:39 +08:00
cyqsimon
862ede716c Remove redundant imports (#377)
* 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
2024-03-01 10:55:38 +08:00
cyqsimon
b5e48ba9bb CI: include generated assets in release archive (#359)
* CI: include generated assets in release archive

* Write changelog
2024-01-30 13:29:01 +08:00
cyqsimon
aed83d833a CI: strip release binaries for all targets (#358)
* CI: strip release binaries for all targets

- This is now done using `rustc` flags directly

* Write changelog
2024-01-30 01:17:58 +08:00
cyqsimon
dc0468c8e7 Generate completion & manpage (#357)
* Generate completion & manpage

* Write changelog
2024-01-28 04:21:06 +08:00
cyqsimon
592f733082 Bump version to 0.22.1 2024-01-28 02:33:41 +08:00
cyqsimon
1b58a0c4c4 Bump version to 0.22.0 2024-01-28 01:00:41 +08:00
cyqsimon
451a7a2642 Write changelog for all unreleased commits
This shouldn't be necessary in the future due to #331.
2023-12-08 17:00:56 +08:00
ilyes-ced
5648be6f11 Show interface names (#340)
* 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>
2023-12-08 16:33:10 +08:00
cyqsimon
23827065c2 CI: ensure a changelog entry exists for each PR (#331)
* CI: ensure a changelog entry exists for each PR

* Write CHANGELOG

* Fix grep by adding `-P`
2023-11-12 14:32:46 +08:00
cyqsimon
f987636f78 Bump version to 0.21.1 2023-10-16 09:27:28 +08:00
cyqsimon
bd007dc08d ... and I forgot to keep changelog again 2023-10-16 09:18:10 +08:00
cyqsimon
448152ce1a Bump version to 0.21.0 2023-09-19 17:51:21 +08:00
liyixin
eba356220c migrate structopt to clap (#285)
* 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>
2023-09-11 21:58:49 +08:00
cyqsimon
9a78cb0120 Note fixes in changelog 2023-08-27 01:09:38 +08:00
Brooks Rady
6500421c2e docs(changelog): resolve-conf + trust-ad fix 2023-08-25 16:12:00 +08:00
Aram Drevekenin
a703513412 chore(release): 0.20.0 2020-10-15 11:05:36 +02:00
Aram Drevekenin
1e0849b0d1 docs(changelog): CLI dns server address flag 2020-10-01 15:05:49 +02:00