Skip to content

Releases: Canop/bacon

bacon v3.16.0

14 Jun 18:42
Compare
Choose a tag to compare

Example of using the new skin configuration:

[skin]
status_fg = 253
status_bg = 0
status_key_fg = 180
project_name_badge_fg = 253
project_name_badge_bg = 0
job_label_badge_bg = 109
warnings_badge_fg = 204
warnings_badge_bg = 253
computing_fg = 0
computing_bg = 180
search_input_prefix_fg = 67
found_fg = 67
found_selected_bg = 67

( by @mahume ) gives this:

image


@mhedgpeth added analyzers for swift build and swift lint.

Feedback would be very welcome regarding the use of bacon for Swift. Even confirming that you use it would help focus efforts.


The new "jobs menu" is triggered by ctrl-j:

image

And you may also define your own menu.

For example this configuration:

[keybindings]
alt-j = "open-menu(intro=Project Shortcuts (hit *esc* to cancel):,actions=[job:check-all,job:clippy-all,job:open-doc,export:myexport,open-jobs-menu,quit])"

opens this menu on alt-j:

image


All those new features are described in the documentation site at https://dystroy.org/bacon/

Best place for feedback is usually Miaou.

bacon v3.15.0

01 Jun 10:09
Compare
Choose a tag to compare
  • the concept of "internals" has been removed. They were a category of actions and they're just actions now. This has no functional impact.
  • the optional workdir job setting allows explicitely overriding the execution directory of a job's command - experimental, feedback welcome

bacon v3.14.0

19 May 10:14
Compare
Choose a tag to compare
  • improve consistency of 'paused' state, which now also applies in case of config change
  • bacon no longer overrides RUST_BACKTRACE unless required (by env parameter or with toggle_backtrace) - Fix #356
  • toggle_backtrace now accepts 0 as parameter. This allows defining a shortcut to disable externally set backtraces
  • fix crash when search is active, output is wrapped and refreshed - Fix #359

bacon v3.13.0

10 May 09:04
Compare
Choose a tag to compare
  • add support for nextest 0.9.95 - Fix #350
  • new focus-file internal. Example: focus-file(some-partial-path)

Remote Control

With listen = true in configuration, bacon listens for actions in a unix socket on file .bacon.socket in the package directory.
Goal is to allow controlling bacon from your code editor.
A simple way to try it is to launch socat - UNIX-CONNECT:bacon.socket then issue actions ending in new lines.
You may also use bacon with --send, eg bacon --send "job:clippy".

bacon v3.12.0

14 Mar 17:31
Compare
Choose a tag to compare
  • cargo-json analyzer (for bacon-ls): fix invalid spans for errors from proc-macros - Fix #332 - Thanks @Leandros
  • back action, usually mapped to the esc key, no longer quits on first job. If you want the old behavior, add this binding: esc = "back-or-quit". Fix #338 - Thanks @ian-h-chamberlain

bacon v3.11.0

03 Mar 11:34
Compare
Choose a tag to compare
  • hit : then type an integer to go to a diagnostic by number - Fix #104
  • standard test analyzer: fix stack overflow not detected - Fix #326 - Thanks @gmorenz

Dynamic Completion

The script providing location aware completion needs to be sourced once.
This can be done for example in your .profile with

    source <(COMPLETE=bash bacon)

(adapt for your shell) This feature is still experimental. Please give feedback, positive or negative, in the chat.
Thanks @bryceberger

bacon v3.10.0

09 Feb 16:36
Compare
Choose a tag to compare
  • all job parameters can now be specified at the root (to be applied to all jobs)
  • grace_period, show_change_count, sound.enabled, and sound.base_volume can now be specified at job level
  • no-op (no operation) internal, which can be used to disable a previously set binding

bacon v3.9.1

28 Jan 11:02
Compare
Choose a tag to compare
  • as compilation of Alsa can be a problem on some systems, the "sound" feature is now disabled by default. You can enable it by compiling with --features "sound" - Fix #319

bacon v3.9.0

26 Jan 10:16
Compare
Choose a tag to compare
  • sound can be enabled with sound.enabled = true, which allows adding job parameters such as on_success = "play-sound(name=90s-game-ui-6,volume=50)" and on_failure = "play-sound(name=beep-warning)" - Fix #303
  • fix freeze on mac on config change - Fix #306 - Thanks @irh
  • fix race condition on config reload when saved by helix - Fix #310

bacon v3.8.0

17 Jan 07:41
Compare
Choose a tag to compare
  • with --headless, bacon runs without TUI - Fix #293
  • --config-toml argument - Fix #284
  • fix workspace level Cargo.toml file not watched
  • copy-unstyled-output internal that you can bind with eg ctrl-c = "copy-unstyled-output". It's currently gated by the "clipboard" feature, please give feedback regarding compilation and usage - Fix #282 - Thanks @letsgetrusty
  • list of loaded config files displayed in help page