Subject: CVS commit: pkgsrc/editors/kakoune
From: Thomas Klausner
Date: 2024-12-11 15:27:26
Message id: 20241211142726.6E54EFC1C@cvs.NetBSD.org

Log Message:
kakoune: update to 2024.05.18nb1.

(Mostly) From db7 in PR 58893.

Kakoune 2024.05.18

* Fixed tests on Alpine Linux and *BSD

Kakoune 2024.05.09

* `flag-lines -after` switch to display text after the line

* `shell-script-candidates` completion now runs the script asynchronously
  while displaying and updating results live.

* `%val{window_range}` elements are now emitted as different strings

* `+` only duplicates identical selections a single time to avoid surprising
  and slow exponential growth in the number of selections.

* `daemonize-session` command makes it possible to convert the current session
  to a daemon one (which will not exit on last client disconnecting)

* View mode commands and mouse scrolling no longer change selections when those \ 
go off-screen.

* New commands `git apply`, `git blame-jump`, `git edit` and `git grep`.

* `git blame` now also works in `git-diff` and `git-log` buffers.

* Completions provided via `shell-script-candidates` or `completers` are no \ 
longer sorted if the typed text is empty.

* The `terminal` alias has been replaced with a command that selects terminal \ 
program and placement based on windowing options.

* `local` scopes in `commands` and `evaluate-commands`.

Kakoune 2023.08.08

* Fix compilation errors on FreeBSD and MacOS using clang

Kakoune 2023.07.29

* `<a-u>` and `<a-U>` now undo/redo selection changes; the previous \ 
meaning
  of moving in history tree has been moved to `<c-j>` and `<c-k>`

* `%exp{...}` expansions provide flexible quoting for expanded strings
  (as double quoted strings)

* `<c-g>` cancels the current operation and goes back to the main event
  loop, this provides an escape hatch when Kakoune seems to hang due to
  a costly operation

* `show-matching -previous` highlighter will fall back onto the character
  preceeding the cursor

Kakoune 2022.10.31

* `complete-command` (See <<commands#configuring-command-completion,`:doc \ 
commands configuring-command-completion`>>)

* `p`, `P`, `!` and `<a-!>` commands now select the inserted text

* `x` now just extends the selection to contain full lines (as `<a-x>` did)
  `<a-x>` trims partial lines from the selection (as `<a-X>` did)

* User mappings is now bound to `<space>` while keeping/removing main selection
  moved to `,` and `<a-,>`

* Prompt history registers `%reg{colon}`, `%reg{slash}` and `%reg{pipe}` now
  have reverse chronological order

* Executing user mode mappings no longer adds to prompt history registers.

Kakoune 2021.11.07

* Support for curly and separately colored underlines (undocumented in 2021.10.28)

* Fixes for terminal flickering

* Fixes for command and response fifo corner cases

Kakoune 2021.10.28

* `g` and `v` do not auto lower case the next key, so `GL` needs to be
  manually mapped to `Gl` for example.

Kakoune 2021.08.28

* command and response fifo support
  (See <<expansions#command-and-response-fifo,`:doc expansions \ 
command-and-response-fifo`>>)

* Shell expansions only trim the last trailing newline instead of all of
  them to make is possible to losslessly pass text through `%sh{...}`.

* `set-option -remove` support for subtracting/removing from option values

* Menu completions such as command name completion are now auto-inserted on
  space

* `write -atomic` was replaced with `write -method [replace|overwrite]` to
  make both write methods available explicitly

* `write <filename>` will fail if the given filename already exists and is
  a regular file. Use the `-force` switch to override that behaviour.

Kakoune 2020.09.01

* The `repl` and `send-text` aliases have been renamed respectively into
  `repl-new` and `repl-send-text`.

* Daemon mode (`-d` switch) does not fork anymore.

* Replace NCursesUI with a custom terminal UI implementation

Kakoune 2020.08.04

* Introduce `User` hook support.

* The `bold` and `italic` faces are no longer built-in. Highlighters
  are expected to use face attributes (`+b` and `+i`, respectively) to
  decorate text.

* The `lint-enable` command no longer needs to be called to display
  linting errors. The `lint-disable` command was renamed into
  `lint-hide-diagnostics`.

* The `+<length>` part of a `range-specs` highlighter consistently
  refers to the length of the target range.

* clients stdin is transferred to the server, making it possible
  to pipe into `kak -c <session>`

* Faces can have an alpha channel, specified using the
  `rgba:RRGGBBAA` format.

* replace-ranges highlighter now support empty and multi-lines ranges

* `%val{...}` now expands to list of strings, `$kak_quoted_...` now work
  as expected with these.

* `*SetOption` hooks filter string will contain a value only for options
  of int/str/bool types to avoid performance issue with generating those
  on more complex option types.

Files:
RevisionActionfile
1.9modifypkgsrc/editors/kakoune/Makefile
1.3modifypkgsrc/editors/kakoune/PLIST
1.8modifypkgsrc/editors/kakoune/distinfo
1.3removepkgsrc/editors/kakoune/patches/patch-src_Makefile
1.1removepkgsrc/editors/kakoune/patches/patch-src_commands.cc
1.1removepkgsrc/editors/kakoune/patches/patch-src_event__manager.cc
1.3removepkgsrc/editors/kakoune/patches/patch-src_file.cc
1.1removepkgsrc/editors/kakoune/patches/patch-src_insert__completer.cc
1.1removepkgsrc/editors/kakoune/patches/patch-src_normal.cc
1.1removepkgsrc/editors/kakoune/patches/patch-src_string__utils.cc