summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-11-25Merge remote-tracking branch 'lenormf/rename-auto_complete'Maxime Coste
2018-11-23Add missing newline to 'regions' highlighter descriptionOlivier Perret
2018-11-19Merge remote-tracking branch 'Delapouite/typos'Maxime Coste
2018-11-14Change BufReadFifo hook param to contain the inserted rangeMaxime Coste
the buffer name was not a very interesting information, whereas the buffer range allows a hook to run only on the appended text instead of all the buffer.
2018-11-14Small code tweak in DualThreadStack::swap_nextMaxime Coste
2018-11-14Fix spurious redrawMaxime Coste
m_last_setup was not storing the actual position that was used to redraw the window, but the previous one, leading to an additional spurious redraw immediatly after (triggered by window position not believed to be the one at last redraw). Fixes #2562
2018-11-14Fix column highlighter adding display atoms past the window widthMaxime Coste
2018-11-10doc: fix misc typos for source and region highlighterDelapouite
2018-11-09Add set-face/unset-face CommandHelpersDelapouite
2018-11-08Expose selection(s) length with a valueOlivier Perret
2018-11-07Fix memory leak in DualThreadStackMaxime Coste
Fixes #2556
2018-11-06Merge remote-tracking branch 'Delapouite/debug-regex'Maxime Coste
2018-11-06Merge remote-tracking branch 'ul/replace-e-face-with-F-in-rc'Maxime Coste
2018-11-06align ThreadedRegexVM::Thread to permit fused copy optimizationMaxime Coste
Aligning makes gcc able to copy a Thread object with a single 32bit mov instruction instead of two 16bits one.
2018-11-06Never grow the DualThreadStack in push_nextMaxime Coste
As we do at most one push_next per step_thread, and we pop_current before step_thread, we can avoid a branch there at the expense of sometimes growing unecessarily (once).
2018-11-05Various micro performance tweaks in ThreadedRegexVMMaxime Coste
2018-11-05Refactor ThreadedRegexVM::exec_program to avoid branchingMaxime Coste
Moving logic into step_thread instead of returning an enum to select what to run avoids the switch logic and improves run time.
2018-11-05Remove use of utf8::iterator in regex executionMaxime Coste
This avoids having two copies of the subject string bounds, one in the ExecConfig and one in the utf8 iterator.
2018-11-04Dump start description as well when writing a regex dumpMaxime Coste
2018-11-03Remove most regex impl special casing for backwards matchingMaxime Coste
2018-11-02Use custom code instead of reverse_iterator in Regex VMMaxime Coste
2018-11-01Use BufferCoord sentinel type for regex matching on BufferIteratorsMaxime Coste
BufferIterators are large-ish, and need to check the buffer pointer on comparison. Checking against a coord is just a 64 bit comparison.
2018-11-01Remove caching from utf8_iteratorMaxime Coste
2018-11-01Improve regex vm to next start performance by avoiding iterator copiesMaxime Coste
2018-11-01Support different type for iterators and sentinel in utf8 functionsMaxime Coste
2018-10-30Truncate incomplete debug command docstringDelapouite
2018-10-30Buffer: Remove m_line_count field from BufferIteratorMaxime Coste
It seems unlikely this would give performance gain, as buffer lines are always accessed when we read that field, leading to all the necessary data already being in memory. Removing it reduces the size of a BufferIterator, which are already pretty hefty objects.
2018-10-29Merge remote-tracking branch 'eraserhd/refactor-surround'Maxime Coste
2018-10-28Remove extra spaces for switches list in infoDelapouite
2018-10-28replace usage of the deprecated 'e' face attribute with the new 'F' oneRuslan Prokopchuk
and update set-face docstring
2018-10-27Simplify surround selectionJason Felice
This has the same effect with fewer conditions, and I think it also specifies the intent more closely this way.
2018-10-27Kakoune v2018.10.27Maxime Coste
2018-10-23Keep doc/kak.1 when running make-installJustin Frank
2018-10-24Merge remote-tracking branch 'Delapouite/previous-char'Maxime Coste
2018-10-23Change next_key title for <a-f>, <a-t>, <a-F> and <a-T>Delapouite
2018-10-23Merge remote-tracking branch 'maximbaz/fix-makefile-manpage'Maxime Coste
2018-10-23Merge remote-tracking branch 'laelath/vertical-menu-option'Maxime Coste
2018-10-23Fix Makefile for manpageMaxim Baz
2018-10-23Merge remote-tracking branch 'lenormf/no-a2x'Maxime Coste
2018-10-23Refactor Hook management to have a well defined list of hooksMaxime Coste
Hooks are now an enum class instead of passing strings around.
2018-10-21doc: Convert the man page to the TROFF formatFrank LENORMAND
Fixes #2504
2018-10-21Move LineRangeSet to line_modification.hhMaxime Coste
2018-10-21Fix LineRangeSet::udpate not updating some traling ranges correctlyMaxime Coste
Fixes #2499
2018-10-15removed option and horizontal layoutJustin Frank
2018-10-15added option for vertical menu layout in the ncurses uiJustin Frank
2018-10-15Fix handling of capture matching in region highlighterMaxime Coste
Also extend the highlight/regions test to validate that. Thanks to lenormf for reviewing my change and finding this bug.
2018-10-14Cleanup RegexHighlighter code and drop cache when it becomes too bigMaxime Coste
The RegexHighlighter range cache can get pretty big in nested regions use cases, and maintaining it can become pretty costly, so if it hits a certain size, just drop it. Should improve performances in #2454
2018-10-14maintain a list of valid ranges for region highlightingMaxime Coste
This should greatly reduce memory usage by only caching matches for ranges that needs to be highlighted, in the case where multiple regions are nested, this means only the topmost region needs to parse and cache the whole buffer, other regions highlighter will only ensure the lines for the ranges they are called up are cached. Fixes #2454
2018-10-14Slight code refactoring in RegionsHighlighterMaxime Coste
2018-10-14Merge remote-tracking branch 'Delapouite/complete_alias'Maxime Coste