head 1.4; access; symbols pkgsrc-2024Q3:1.3.0.36 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.34 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.32 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.30 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.28 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.26 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.24 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.22 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.20 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.18 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.16 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.14 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.12 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.10 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.8 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.6 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.4 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.2 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.6 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2024.12.11.14.27.25; author wiz; state dead; branches; next 1.3; commitid AlUxkFpu9kJSJ5BF; 1.3 date 2020.05.14.19.06.55; author joerg; state Exp; branches; next 1.2; commitid SAzkZoeVgAST1f8C; 1.2 date 2020.03.22.10.35.44; author nia; state Exp; branches; next 1.1; commitid EEpPyfWFmKfbUn1C; 1.1 date 2019.07.24.17.01.02; author nia; state Exp; branches; next ; commitid tqLK2vaBssvxOjwB; desc @@ 1.4 log @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 * `` and `` now undo/redo selection changes; the previous meaning of moving in history tree has been moved to `` and `` * `%exp{...}` expansions provide flexible quoting for expanded strings (as double quoted strings) * `` 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 <>) * `p`, `P`, `!` and `` commands now select the inserted text * `x` now just extends the selection to contain full lines (as `` did) `` trims partial lines from the selection (as `` did) * User mappings is now bound to `` while keeping/removing main selection moved to `,` and `` * 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 <>) * 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 ` 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 `+` 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 ` * 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. @ text @$NetBSD: patch-src_Makefile,v 1.3 2020/05/14 19:06:55 joerg Exp $ Do not force -O3 or -g. --- src/Makefile.orig 2020-01-16 09:52:20.000000000 +0000 +++ src/Makefile @@@@ -16,7 +16,6 @@@@ ifeq ($(debug),yes) suffix := .debug else ifeq ($(debug),no) - CXXFLAGS += -O3 suffix := .opt else $(error debug should be either yes or no) @@@@ -90,11 +89,11 @@@@ else LDFLAGS += -rdynamic endif -CXXFLAGS += -pedantic -std=c++17 -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address +CXXFLAGS += -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address compiler := $(shell $(CXX) --version) ifneq (,$(findstring clang,$(compiler))) - CXXFLAGS += -frelaxed-template-template-args +# CXXFLAGS += -frelaxed-template-template-args else ifneq (,$(findstring GCC,$(compiler))) CXXFLAGS += -Wno-init-list-lifetime endif @ 1.3 log @Resolve various template matching issues when building with clang and don't require relaxed instanciation. @ text @d1 1 a1 1 $NetBSD: patch-src_Makefile,v 1.2 2020/03/22 10:35:44 nia Exp $ @ 1.2 log @kakoune: Update to 2020.01.16 == Kakoune v2020.01.16 * Expose history tree through `$kak_history` and `$kak_uncommitted_modifications` * `InsertCompletionHide` parameter is the list of inserted ranges @ text @d1 1 a1 1 $NetBSD: patch-src_Makefile,v 1.1 2019/07/24 17:01:02 nia Exp $ d15 1 a15 1 @@@@ -90,7 +89,7 @@@@ else d24 5 @ 1.1 log @Add editors/kakoune. Kakoune is a code editor that implements Vi's "keystrokes as a text editing language" model. As it's also a modal editor, it is somewhat similar to the Vim editor (after which Kakoune was originally inspired). Kakoune can operate in two modes, normal and insertion. In insertion mode, keys are directly inserted into the current buffer. In normal mode, keys are used to manipulate the current selection and to enter insertion mode. Kakoune has a strong focus on interactivity, most commands provide immediate and incremental results, while still being competitive (as in keystroke count) with Vim. Kakoune works on selections, which are oriented, inclusive range of characters, selections have an anchor and a cursor character. Most commands move both of them, except when extending selection where the anchor character stays fixed and the cursor one moves around. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 4 Allow KAK_BIN_PATH to be used as a fallback for finding the executable path on more platforms. --- src/Makefile.orig 2019-07-01 12:07:29.000000000 +0000 d7 1 a7 1 @@@@ -14,7 +14,6 @@@@ ifeq ($(debug),yes) d15 1 a15 5 @@@@ -85,10 +84,11 @@@@ else LIBS += $(shell $(PKG_CONFIG) $(PKG_CONFIG_FLAGS) --libs ncursesw) NCURSES_CFLAGS += $(shell $(PKG_CONFIG) $(PKG_CONFIG_FLAGS) --cflags ncursesw) + CPPFLAGS += -D'KAK_BIN_PATH="$(bindir)/kak"' d22 2 a23 2 all : kak @