summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-11-28Merge remote-tracking branch 'lenormf/patch-2'Maxime Coste
2019-11-28Add a {\} marker to disable markup processingMaxime Coste
2019-11-26src: Check the filesize before calling `mmap()`Frank LENORMAND
2019-11-26Fix small info text not being displayedMaxime Coste
2019-11-26Merge remote-tracking branch 'lenormf/complete-expansion-reg'Maxime Coste
2019-11-26Merge remote-tracking branch 'lenormf/complete-expansion-file'Maxime Coste
2019-11-25src: Use `begin()` to get iteratorsFrank LENORMAND
When compiling the code with `-Wp,-D_GLIBCXX_ASSERTIONS`, the process gets aborted, likely because iterators to standard containers are not obtained in a safe way. Fixes #3226.
2019-11-24Complete rename-buffer with filenamesMaxime Coste
Fixes #3215
2019-11-24Replace tab characters with spaces in info/echoMaxime Coste
This is tricky to fix better than that as tabs make text length dependent on where it will get displayed and what preceedes it. Also fix an issue with empty info title Fixes #2237
2019-11-24Rework ncurses info display, crop content when overlflowingMaxime Coste
Optmize the code to avoid allocating like crazy, unify various info style rendering, crop content and display markers that there is more text remaining. Fixes #2257
2019-11-23Make wrap_lines a lazy range viewMaxime Coste
Avoid the need to allocate a vector by using the ranges framework.
2019-11-23src: Complete filenames in `%file{}` expansionsFrank LENORMAND
2019-11-23src: Complete register names in `%reg{}` expansionsFrank LENORMAND
Builtin registers have name aliases that can be completed upon when using a `%reg{}` expansion from the prompt.
2019-11-22Add support for markup in info boxesMaxime Coste
Fixes #2552
2019-11-22Fix crash when deleting buffers in a BufClose hookMaxime Coste
2019-11-21Add a -atomic switch to write and change clang.kak to take advantageMaxime Coste
2019-11-18src: Give a reason why `:rename-buffer` failedFrank LENORMAND
2019-11-18Fix recently introduced ncurses redraw artifactMaxime Coste
2019-11-18Ignore SIGTTOUMaxime Coste
We can get this signal while suspending if a parent process (say git-commit) has already put us in the background. We still need to reset the termios state to exit raw input mode and make the shell usable. Fixes #3069
2019-11-17Fix search menu trimmed entry displayMaxime Coste
2019-11-17Move the forked server into a new session and process groupMaxime Coste
Fixes #3212
2019-11-17src json: Limit the recursion depth to 100Frank LENORMAND
2019-11-17src: Move JSON parsing code to its own fileFrank LENORMAND
The `json_ui.cc` file contained both data-parsing and UI-related code. This commit moves the JSON parsing code to its own `json.cc` file, to separate concerns, make compilation faster when changes are made to either UI or parsing code, and make the parsing code more accessible to fuzzers. The signature of the following function: ``` auto parse_json(StringView json); ``` was changed to: ``` JsonResult parse_json(StringView json); ``` to avoid `auto` deduction issues at compile-time.
2019-11-17Fix String::resize not zero-terminatingMaxime Coste
2019-11-13Re-merge clear_to_eol in drawMaxime Coste
2019-11-12Fix display column computationsJason Felice
Closes #3201
2019-11-13Fix typoMaxime Coste
2019-11-12Add support for selecting and exporting selections in display columnsMaxime Coste
Fixes #2724
2019-11-12Add support for a -codepoint switch to the select commandMaxime Coste
2019-11-12Implement %val{selections_char_desc}Jason Felice
Fixes #3194
2019-11-12Fix use after free in enter_user_mode, use `user.<name>` for modenameMaxime Coste
Fixes #3192
2019-11-11Add mode information to next-key mode nameMaxime Coste
Currently expose an additional name, the format is up for discussion. Fixes #1855 Fixes #2569 Fixes #2672
2019-11-10Aggregatify ConcatViewMaxime Coste
2019-11-09Avoid copy constructing BufferCoord when comparingJason Felice
2019-11-09Fix bad comparison when parsing OSI sequencesJason Felice
2019-11-09Add overrideJason Felice
2019-11-09Add static or const where usefulJason Felice
2019-11-09Remove unused trim_whitespaces()Jason Felice
2019-11-09Merge remote-tracking branch 'eraserhd/selection-list-cleanup'Maxime Coste
2019-11-09Check that stdout is a tty in ncurses uiMaxime Coste
2019-11-07Merge selection list parsing into selection_list_from_stringsJason Felice
2019-11-07Merge remote-tracking branch 'Delapouite/parameterdesc'Maxime Coste
2019-11-06Support \x and \u escapes in regex character classesMaxime Coste
Change \u to use 6 digits to cover the full unicode range. Fixes #3172
2019-11-05src: Make sure clients connect from a TTYFrank LENORMAND
Fixes #3159
2019-11-05Fix some ncurses rendering issuesMaxime Coste
2019-11-05Split clearing to end of line out of NCursesUI::Window::drawMaxime Coste
Explicitely clear instead of relying on a brittle heuristic.
2019-11-04Use a specific WrapMarker face for wrap highlighter wrapped line markerMaxime Coste
2019-11-01Use single_param more and add double_paramsDelapouite
2019-10-23Add a -verbatim switch to evaluate-commands for perfect forwardingMaxime Coste
-verbatim will disable argument parsing in evaluate-commands, making it possible to forward a single command to a different context without triggering a reparsing of the arguments. Fixes -try-client support in grep.kak Closes #3153
2019-10-23Merge remote-tracking branch 'lenormf/key-semicolon'Maxime Coste