summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-09Fix compilation on 32bit platformsMaxime Coste
Fixes #3284
2020-01-08Update inserted range when generating InsertCompletionHide hook paramMaxime Coste
The buffer might have been mutated in the mean time. Fixes #3270
2020-01-05Split RegexHighlighters matches per requested buffer rangesMaxime Coste
When a region calls the regex highlighter, it is incorrect to share the regex cache as it means we can get matches that span multiple regions. Fixes #3041
2020-01-05Merge remote-tracking branch 'fsub/rxvt'Maxime Coste
2020-01-04Use markup for startup-info messageMaxime Coste
2020-01-04Restore support for line wrapping info boxesMaxime Coste
Fixes #3280
2020-01-02Few style changes on history exposition codeMaxime Coste
2020-01-02Merge remote-tracking branch 'eraserhd/history-api'Maxime Coste
2020-01-01Add 'history' and 'uncommitted_modifications' expansionsJason Felice
2019-12-31Fix replacing at begining of bufferMaxime Coste
Fixes #3275
2019-12-28Redraw relevant clients after adding/removing highlightersMaxime Coste
2019-12-28Avoid unnecessary std::functionMaxime Coste
2019-12-28Refactor fifo buffer reader codeMaxime Coste
2019-12-24Fix command error line/column reportingMaxime Coste
2019-12-19Merge remote-tracking branch 'jkonecny/master-backport-fedora-spec'Maxime Coste
2019-12-19Update fs status post buffer writeMaxime Coste
2019-12-18Make possible to change compression for make distJiri Konecny
This will make possible to get the same archive from make dist as from GitHub archives. GitHub archives do not support current bzip2.
2019-12-18Cleanup replaced range selection logicMaxime Coste
Do not access Buffer::m_changes to find the inserted range, return it directly from Buffer::insert and Buffer::replace. This fixes a wrong behaviour where replacing at eof would lose the selected end of line (as the implementation does not actually replace that end of line)
2019-12-16Fix window_range expansionMaxime Coste
It relied on the buffer first char being visible, and could trigger segfaults when that was not the case.
2019-12-16Fix WinResize hook getting triggered during urgent event processingMaxime Coste
WinResize hooks could be triggered during shell evaluation, leading to any state potentially getting mutated after a shell evaluation call.
2019-12-15highlighters.cc: Add a '-min-digits' flag to the number-lines highlighter.Tim Allen
Fixes #3260.
2019-12-15Code style tweakMaxime Coste
2019-12-14Support rxvt style s-F3 to s-F10fsub
2019-12-14Support rxvt style s-F11 and s-F12fsub
Rxvt emits `\E[23$` and `\E[24$` for `F21` and `F22` (alias `s-F11` and `s-F12` provided that `ncurses_shift_function_key` is set to `10`), respectively.
2019-12-14Code style tweak in insert_outputMaxime Coste
2019-12-14Merge remote-tracking branch 'lenormf/reevaluate-exclamation-point'Maxime Coste
2019-12-12Merge remote-tracking branch 'Screwtapello/tmux-keys'Maxime Coste
2019-12-11src/ncurses_ui.cc: Add support for VT220-style Home and End keys.Tim Allen
Because we now support a bunch of different conventions for these keys, let's add some citations for the benefit of future maintainers. Fixes #3252.
2019-12-10Fix build on FreeBSD againTobias Kortkamp
json_ui.cc:29:9: error: use of undeclared identifier 'sprintf' sprintf(buffer, R"("#%02x%02x%02x")", color.r, color.g, color.b); ^ 1 error generated. Regressed by 7cdbe1d3d24c1cc13bd7cbc3fe252f1e88747ffb
2019-12-10Kakoune v2019.12.10Maxime Coste
2019-12-07Add -scratch and -file switches to the rename-buffer commandMaxime Coste
2019-12-07Update New flag and last save timestamp on buffer renameMaxime Coste
Fxies #3244
2019-12-05Optimize regex in commandMaxime Coste
2019-12-05Restore regex optimization pass by introducing basic block analysisMaxime Coste
Run the peephole optimizer on each basic block, avoiding the previous issue that some instructions could move across their boundaries.
2019-12-04Do not decode utf-8 when looking for regex next startMaxime Coste
There is no need to decode as we know any non-ascii characters will be treated as Other in the StartDesc.
2019-12-04Merge remote-tracking branch 'lenormf/window-range'Maxime Coste
2019-12-04Merge remote-tracking branch 'lenormf/reload-buffer-hash'Maxime Coste
2019-12-03src: Reload buffers when their contents' hash changesFrank LENORMAND
Instead of triggering a reload event when the timestamp of a buffer's underlying file changes, do so when its contents are actually modified.
2019-12-03Document that fg face is optionalMaxime Coste
2019-12-03Merge remote-tracking branch 'lenormf/split-json'Maxime Coste
2019-12-03Merge remote-tracking branch 'Laaas/patch-1'Maxime Coste
2019-12-03Merge remote-tracking branch 'lenormf/fix-doc-face-base'Maxime Coste
2019-12-03Merge remote-tracking branch 'somasis/master'Maxime Coste
2019-12-02src: Document the base face syntax in `:set-face`Frank LENORMAND
2019-12-01src: Fix the build on MacFrank LENORMAND
When compiled on Mac with `clang`, the following error occurs at compile-time: ``` ./diff.hh:56:28: error: no member named 'min' in namespace 'std' const int max_D = std::min((M + N + 1) / 2 + 1, cost_limit); ~~~~~^ ```
2019-12-01Pass inserted text ranges in InsertCompletionHide hook parameterMaxime Coste
Fixes #2898
2019-11-29buffer.hh: Fix building on musl+libc++Kylie McClain
Fixes #3233.
2019-11-30Refactor diff to make allocating a diff vector optionalMaxime Coste
The diff interface now goes through a for_each_diff function that uses a callback for each found diff.
2019-11-28Update scroll behaviorMikhail Pogretskiy
2019-11-28Merge remote-tracking branch 'lenormf/fix-mmap-size-check'Maxime Coste