summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-10Cleanup regex lookarounds implementation and reject incompatible regexMaxime Coste
Fixes #2487
2018-10-08Add alias completer to unalias commandDelapouite
2018-10-08Fix integer overflow leading to bad memory access in regex executionMaxime Coste
Fixes #2481 Fixes #2480
2018-10-08Buffer begin and end are not end-of-wordsMaxime Coste
Buffer begin never has a word character before, and end is always preceeded by an end-of-line. Fixes #2420
2018-10-06Update startup messsage and changelog.asciidocMaxime Coste
2018-10-06Merge remote-tracking branch 'laelath/shell-command-completion'Maxime Coste
2018-10-06Small style tweakMaxime Coste
2018-10-06Merge remote-tracking branch 'eraserhd/notify_fatal_error-undefined-behavior'Maxime Coste
2018-10-06Reduce memory usage of cached matches for RegionsHighlighterMaxime Coste
This adds a limitation that capture matching on regions only works if the regions start/end/recurse match is less than 65635 byte long. With this limitation we can reduce the RegexMatch struct size to 16 bytes instead of 32. This is still not good enough,but should slightly improve high memory usage as reported in #2454
2018-10-05Fix undefined behavior in notify_fatal_errorJason Felice
2018-10-03Added shell command completion support to define-command and promptJustin Frank
This commit also introduces a regression in that I decided that the best way to avoid overly long and confusing names was to rename the current shell-* switches to script-*, and have the shell command completion be shell-completion. renamed script-{completion,candidates} to shell-script-* Updated docs with new switch names Added -shell-completion switch to x11-repl and kitty-repl
2018-10-01show_matching_char highlighter use the matching_pairs optionsJustin Frank
2018-09-30src: Implement <a-m> and <a-M>Frank LENORMAND
Closes #2425
2018-09-30src: Move <a-m> to <a-_>Frank LENORMAND
2018-09-27src: Drop selections that only contain whitespace on `_`Frank LENORMAND
Fixes #2387
2018-09-24Misc fixesOlivier Perret
2018-09-23Add a way to unmap all keys of a given mode at onceDelapouite
2018-09-23Replace the `Exclusive` face attribute with `Final`Maxime Coste
Final is more granular, it consists of FinalFg (f), FinalBg (g) and FinalAttr (a) which control if a face's fg, bg, or attributes fully overwrite the previous face (instead of merging) and if following faces apply on top of this face or not. Fixes #2388 if the Whitespace face has the FinalFg flag.
2018-09-23Ignore errors in write_stdoutMaxime Coste
Fixes #2418
2018-09-23Merge remote-tracking branch 'eraserhd/script-docs'Maxime Coste
2018-09-22Reject hook names that are not alphanumeric _ or - or start with -Maxime Coste
Fixes #2414
2018-09-22Merge remote-tracking branch 'Delapouite/rename-completions'Maxime Coste
2018-09-21Document that `-f` starts with whole file selectedJason Felice
2018-09-20Add completion for rename-buffer, rename-client and rename-sessionDelapouite
2018-09-16Update documentation of region highlighter to match change in ↵Jan-Jaap Korpershoek
2e0e206951adefe71ef559a2a42b23901f5c4531
2018-09-12Change remove-hooks to take a regular expressionMaxime Coste
All hooks whose group match this regex will be removed. Fixes #2380.
2018-09-12Merge remote-tracking branch 'eraserhd/2367-surround-with-tight-nesting'Maxime Coste
2018-09-12Only commit undo groups when buffer was modifiedMaxime Coste
This fixes an interaction with kak-lsp that would trigger undo group commit when setting a buffer option value.
2018-09-09Don't skip opening brace twice when finding closingJason Felice
Fixes #2367 Fixes #2129
2018-09-09src: Check that `Once` hooks to remove existFrank LENORMAND
Fixes #2370.
2018-09-07Fix use after delete in RemoteClient FDWatcher callbackMaxime Coste
Fixes #2357
2018-09-07Join highlighter parameters with a '_' to autogenerate their nameMaxime Coste
2018-09-04Kakoune v2018.09.04Maxime Coste
2018-09-04Remove leading v in archive names when generating releasesMaxime Coste
2018-09-04Add readline word erase bindings, throw in clipboard for good measureMaxime Coste
Add <c-w> and <a-d> (along with <c-W> and <a-D> that work on WORDs), and <c-y> which pastes the transient clipboard contant (which saves big erase, such as word erase and line end/begin erase). Fixes #2355
2018-09-03Merge remote-tracking branch 'Delapouite/sync-exit-status'Maxime Coste
2018-09-03Change line editing bindings to match readline'sMaxime Coste
In the end, no better solution materialized so far, and custom Kakoune line editing bindings are hard to remember. Using well known readline bindings seems just more convenient. Closes #800, although it does not contain all the binding proposed by it (I might accept a few additional ones, such as <c-w>, but not too much, I still see that as a hack pending a nicer solution).
2018-09-03docs: add missing -sync and exit status in autoinfo and doc pageDelapouite
2018-08-30Fix setting a prefix list option with an empty listMaxime Coste
Fixes #2335
2018-08-30Merge remote-tracking branch 'Screwtapello/support-user-map-options'Maxime Coste
2018-08-30Merge remote-tracking branch 'Screwtapello/fix-slow-word-wrap'Maxime Coste
2018-08-30Merge remote-tracking branch 'Delapouite/auto_complete'Maxime Coste
2018-08-30Merge remote-tracking branch 'occivink/source-with-args'Maxime Coste
2018-08-30Merge branch 'patch-1' of https://github.com/John-Colvin/kakouneMaxime Coste
2018-08-30Extend `source` command to support parameters.Shachaf Ben-Kiki
Parameters are accessible in %arg{n}, as with define-command.
2018-08-29Use shell specific quoting for env varsMaxime Coste
Add a test case to validate roundtrips between Kakoune and the shell.
2018-08-28Missing space at eol in write CommandDescJohn Colvin
2018-08-28Speed up wrapping at word boundaries.Tim Allen
Previously, when wrapping lines at word boundaries, we would iterate forwards for "wrap-width" characters, then iterate backwards until we found a word-break, which was horribly slow. Now we record the last word-boundary we saw as we iterate forwards, getting a result in one pass. Fixes #2339.
2018-08-27Add toggling capabilities for <c-o> in Insert and Prompt modeDelapouite
Ref #2121
2018-08-27Merge remote-tracking branch 'ricochet1k/master'Maxime Coste