Skip to content

Latest commit

 

History

History
295 lines (201 loc) · 14.1 KB

CHANGELOG.md

File metadata and controls

295 lines (201 loc) · 14.1 KB

Changelog

0.7.0 (2024-10-13)

Features

  • commands: commands with multiple buffers (5d1a7b4)

Bug Fixes

  • edit: make edit commands available only in compatible modes (e28afb9)

Changes

  • dinghy: allow customizing max cmd len (5bc5184)
  • dinghy: better/customizable max env len (24f380c)
  • env: allow setting empty var (fc13de6)

0.6.2 (2024-08-24)

Bug Fixes

  • command: bind setup function when capturing recompile (83983dc)
  • command: check variables with buffer set (e2a5e81)

Changes

  • environment: share common environment for specific commands (2e4f26c)

0.6.1 (2024-07-13)

Bug Fixes

  • command: add setup function to reserve buffers (a17a304)
  • submarine: adapt to new compile signature (ebb52c7)

0.6.0 (2024-06-29)

Features

  • cmd: variable that governs prompting (09aea92)
  • command: ship-mate-store-history (3accc94)
  • environment: allow setting environment per command (f47f514)
  • logging: add and bind ship-mate-show-logs (5ded9b5)
  • logging: add logging (ad97d64)

Bug Fixes

  • command: don't overwrite meta data when marking (06acee7)
  • command: don't record if command is nil (b5ec1da)
  • command: require this-command to be non-nil (7a2b86f)
  • command: update history during recompile in ship-mate buffers (733f06f)
  • fuzzy: actually return the top matches (dddb648)
  • fuzzy: don't match single period (aebcf38)
  • logging: return map, not binding (b85a8cb)

Changes

  • command: allow editing history before storage (437160b)
  • command: always use update-history (ab4e641)
  • command: disallow select and rerun outside of projects (d1a3c3d)
  • command: prompt on first run (44d400b)
  • command: replace ship-mate--last-command (65ae963)
  • command: ship-mate-command--{record=>record-last-command} (d414539)
  • fuzzy: give penalty for initial incongruence (e2658b9)
  • history: don't prompt for replacing (2fbedf4)
  • rerun-command: select command if there is no prev command (2e9678a)

0.5.0 (2024-03-10)

Features

  • command: ship-mate-rerun-command (40f2690)

Bug Fixes

  • command: don't capture recompile outside of projects (3834882)
  • command: use custom var and set it to 2 (0c34933)
  • fuzzy: allow full match when capturing (37b748a)
  • submarine: close any ship-mate buffer (acf2a94)
  • submarine: use available bindings (9695d78)

Changes

  • command: string-trim commands (2d274a7)
  • command: universal prefix forces project select (ea029c9)

0.4.2 (2024-02-07)

Bug Fixes

  • buffers: use project-buffers by default (dce7919)
  • environment: use regex to validate assignments (328fe86)
  • fuzzy: check ring length not size before replacing (fddc098)
  • fuzzy: don't consider exact matches (f0851f3)

Changes

  • fuzzy: ask before replacing match (a1acdfc)
  • ship-mate-dinghy: factor out into own module (0c98501)
  • ship-mate-edit: factor out in-buffer editing (32d6199)
  • submarine: factor out into own module (d2ecf09)

0.4.1 (2024-01-28)

Bug Fixes

  • submarine: get window for all frames when hiding (8f475e9)

Features

  • bindings: harmonize bindings (2889e29)
  • ci: add semantic-release (7590684)
  • lighter: capitalize names in lighter menu (7d2e319)
  • submarine: complete buffer to recompile (46af9fe)

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.4.0]

Added

  • Buffer completion now offers only the current project's buffers unless the command using it was called with a prefix argument.
  • Command ship-mate-show-results to pop to a buffer. Bound to s in subcommands map.
  • Minor modes now include their map in their docstrings.
  • Calling ship-mate-show-hidden signals an error if there is no hidden buffer.
  • It is now possible to have multiple hidden compilations running at the same time.
  • Command ship-mate-hide-visible to hide a visible compilation.
  • Commands created with ship-mate-create-command now attempt to bind using any letter that is part of the symbol name. If this fails, a warning is displayed and no binding takes place.

Changed

  • Buffer completion now uses read-buffer.
  • Buffer completion now signals an error if there is no eligible buffer.
  • History replacement now only happens if the history is full.
  • All commands (including subcommands) are now bound in ship-mate-command-map.

Removed

  • Variable ship-mate-subcommand-map.

[0.3.4]

Fixed

  • recompile is no longer captured in other modes derived from compilation-mode.
  • ship-mate-command--fuzzy-match no longer matches empty strings, whitespace or --.

[0.3.3]

Added

  • Command ship-mate-hide bound to C-c C-q in ship-mate-dinghy-mode. It hides a running compilation like other hidden compilations.
  • The currently run command is now shown in the header in ship-mate-dinghy-mode.

Changed

  • Function that variable ship-mate-command-fuzzy-match-function should now return a plist on match, returning match, count and index. This is used during ship-mate-command--update-history to replace a matched entry if the match count is higher that two.
  • Bindings in ship-mate-dinghy-mode-map now adhere to Key Binding Conventions (only binding to keys allocated for minor modes).

[0.3.2]

Added

  • Additional commands are now bound to ship-mate-subcommand-map which is bound to x in ship-mate-command-map. This is now the only letter bound. The key used can be customized using ship-mate-subcommands-key.

Fixed

  • ship-mate-select-command now passes the prefix argument to the command.
  • Calling ship-mate-hidden-recompile directly or indirectly quits windows displaying a ship-mate buffer.

[v0.3.1]

Added

  • Calling ship-mate-edit-environment from outside a ship-mate buffer now completes ship-mate buffers in the project to edit their environment.
  • Calling ship-mate-command with numeric prefix 5 now prompts the user to edit the environment in the minibuffer. The prefix value can be customized through ship-mate-edit-environment-prefix.
  • ship-mate-hidden-recompile now prompts after customizable ship-mate-prompt-for-hidden-buffer which is now set to 2 (seconds).
  • Command ship-mate-edit-history to edit the history.
  • A lighter that provides the ship-mate-command-map as a menu.
  • Calling ship-mate-command with numeric prefix 3 now runs the command the same way ship-mate-hidden-recompile does. The prefix value can be customized using ship-mate-hidden-compilation-prefix.
  • If a hidden compilation fails, the exit status is shown in the prompt.
  • Hidden compilations can be surfaced by ship-mate-show-hidden or by clicking the mode line.

Changed

  • Calling ship-mate-hidden-recompile when the previous command wasn't a ship-mate-command no longer recompiles.
  • Prompting is now the default for hidden compilation (see above).

[v0.3.0]

Added

  • The history size can be customize using ship-mate-command-history-size.
  • The function used to fuzzy-match commands against histories can now be customized using ship-mate-command-fuzzy-match-function.
  • The generator used to generate a buffer-name function can now be customized using ship-mate-command-buffer-name-function-generator.
  • Minor-mode ship-mate-dinghy-mode is enabled in all compilation buffers created by ship-mate unless ship-mate-dinghy-enable is nil. It displays the current compilation-environment and binds ship-mate-edit-environment as well as ship-mate-command-next-buffer and ship-mate-command-prev-buffer.
  • Command ship-mate-refresh-history to either reset to defaults to clear a command's history (in the project).
  • Command ship-mate-hidden-recompile, bound in ship-mate-command-map to r. It will call recompile but only show the compilation buffer once the process has finished. User may set ship-mate-prompt-for-hidden-buffer if they should be prompted first.

Fixed

  • Empty lines are filtered out by ship-mate-environment--listify which means calling ship-mate-environment-apply with an empty buffer also works.
  • recompile is now advised to instead call ship-mate-command when a match happens unless the current buffer is a compilation buffer already.

[v0.2.0]

Added

  • Variable ship-mate-environment that can be set to prefill compilation-environment.
  • Compilation buffers are now named using the current project.
  • Command ship-mate-edit-environment. It will open a buffer with the compilation-environment of the current compilation buffer and allows the user to freely edit and apply it.

Changed

  • Prefix for environment editing is now environment, no longer env.
  • Prefixes have been harmonized, meaning there are no more plain ship-mate- functions.

[v0.1.0]

Initial release of the package that was spliced out of my own configuration.