Commit Graph

93 Commits

Author SHA1 Message Date
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
Aram Drevekenin
4af7abaae2 chore(release): 0.19.0 2020-09-29 17:32:45 +02:00
Aram Drevekenin
15ec5c0215 docs(changelog): reconnect disconnected interfaces 2020-09-29 17:35:22 +02:00
Aram Drevekenin
f9d397c7c9 docs(changelog): TUI upgrade 2020-09-29 16:50:53 +02:00
Aram Drevekenin
e64b15a20b docs(changelog): fix build on freebsd 2020-09-20 13:08:09 +02:00
Aram Drevekenin
ad5b40a640 docs(changelog): ci change 2020-09-20 12:24:00 +02:00
Aram Drevekenin
2ef120fa7a docs(changelog): window resizing 2020-09-14 15:59:39 +02:00
Aram Drevekenin
d993d070a3 docs(changelog): rdns fix 2020-09-11 17:25:03 +02:00
Aram Drevekenin
32c330dc67 fix(build): do not download windows build deps on other platforms 2020-09-11 11:46:43 +02:00
Aram Drevekenin
166af007a9 chore(release): 0.18.0 2020-09-11 10:30:44 +02:00
Aram Drevekenin
2e0f011285 docs(changelog): windows build and run support 2020-09-10 18:48:19 +02:00
Aram Drevekenin
b730e36a90 docs(changelog): man page 2020-09-08 10:28:06 +02:00
Aram Drevekenin
4ef1d7ccee docs(changelog): windows infrastructure 2020-09-03 18:21:55 +02:00
Aram Drevekenin
b275ee61e1 chore(release): 0.17.0 2020-09-02 15:49:16 +02:00
Aram Drevekenin
96a2f36778 docs(changelog): units 2020-09-02 15:53:11 +02:00
Aram Drevekenin
896f8dc698 docs(changelog): chinese characters fix 2020-09-01 09:49:06 +02:00
Aram Drevekenin
44c69f1355 docs(changelog): raw mode delimiters 2020-07-14 15:47:38 +02:00
Aram Drevekenin
b0d34311ab chore(release): 0.16.0 2020-07-13 16:44:06 +02:00