summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-12-01Regex: use StartDesc to early out when not searchingMaxime Coste
Early out as well if we do not find any potential start position.
2017-12-01Regex: rename StartChars to StartDescMaxime Coste
It only contains chars for now, but its still more generally describing where matches can start.
2017-11-30Regex: optimize parsing a bitMaxime Coste
2017-11-30Regex: smarter handling of start chars computation for character classMaxime Coste
2017-11-29Regex: avoid unneeded allocations and moves by reusing MatchResults storageMaxime Coste
2017-11-28Wrap: try to rework and simplify the algorithms furtherMaxime Coste
Fixes #1731
2017-11-28Regex: Various small code tweaksMaxime Coste
2017-11-28Regex: optimize compilation by reserving dataMaxime Coste
2017-11-28Regex: Tweak is_ctype implementation styleMaxime Coste
2017-11-27Fix compute_modified_ranges corner case that would crash on undoMaxime Coste
Fixes #1506 Fixes #1215
2017-11-25Regex: Replace generic 'Matchers' with specialized functionalityMaxime Coste
Introduce CharacterClass and CharacterType Regex Op, and optimize their evaluation.
2017-11-25Regex: do not decode utf8 in accept calls as they always run on asciiMaxime Coste
2017-11-25Add an InsertCompletionSelect hookMaxime Coste
InsertCompletionSelect will be called whenever the selected insert completion changes. If the original text is selected back, the hook parameter will be empty. If another candidate is selected, the hook parameter will be its text content. Fixes #1676
2017-11-25Small formating tweakMaxime Coste
2017-11-25Highlighters: Introduce unique highlighter supportMaxime Coste
Some highlighters, such as wrap or line numbers, are not intended to be used multiple times on the same display. Add support for unique ids that are used by highlighters to disable themselves if another unique highlighter with the same id is supposed to override them. The usual highlighter "precedence" takes, place, that it, that most nested highlighter will the the one to run (window in priority to buffer in priority to global).
2017-11-24Rename KeyMapInfo → KeymapInfoDelapouite
2017-11-24Merge remote-tracking branch 'Delapouite/remaining-buffers'Maxime Coste
2017-11-24Window: fix buffer_coord when a line buffer range is emptyMaxime Coste
Fixes #1711
2017-11-23Merge remote-tracking branch 'fsub/warnings'Maxime Coste
2017-11-22Remove unused lambda capturesfsub
This eliminates some warnings emitted by clang++.
2017-11-22dynregex: slight code refactor, moving a helper function to lambdaMaxime Coste
2017-11-21Wrap: simplify logic a bit and fix case where too many lines got displayedMaxime Coste
Fixes #1710
2017-11-20Add modified buffers count in error message of non-force quitDelapouite
2017-11-20Merge remote-tracking branch 'Delapouite/common_prefix'Maxime Coste
2017-11-20Remove extraneous common_prefix in input_handlerDelapouite
Related to: 52525a156ff2a9f5c8c6fbb2e933ec412afb4728
2017-11-19Docs: add missing -i <suffix> command line flagDelapouite
2017-11-19Makefile: Add ability to disable compressing manpageKylie McClain
Some distributions don't compress them.
2017-11-17Makefile: use PKG_CONFIG, not pkg-configKylie McClain
2017-11-13Normal: add <a-S> to select first and last char of selectionMaxime Coste
Fixes #550
2017-11-13Merge remote-tracking branch 'Delapouite/jump-count'Maxime Coste
2017-11-13Add count support to jumps (<c-o> and <c-i>). Add jumps testsDelapouite
2017-11-13Options: rework conversion to string of prefixed listsMaxime Coste
* use the list_separator variable instead of hard coding ':' * fix trailing separator when converting empty prefixed list to string * correctly escape the prefix in case it contains a separator
2017-11-13option_types.hh: fix unfulfilled dependencies of the headerMaxime Coste
2017-11-13Regex: add unit test for #1693Maxime Coste
2017-11-12Fix #1693: typo in RegexParser::character_class()fsub
2017-11-12NCurses: use the general face merging function to handle default faceMaxime Coste
Merge attributes as well, and reuse an existing function instead of reimplementing the same logic again. Closes #1684
2017-11-12Remote: when converting to client, suspend *after* connectingMaxime Coste
Also, do not quit server while there is a connection being accepted Fixes #1690
2017-11-12Move Array and ConstexprVector to a constexpr_utils.hh headerMaxime Coste
2017-11-12Regex: Use MemoryDomain::Regex for captures and MatchResults contentsMaxime Coste
2017-11-11Regex: directly store instruction pointer in Thread structMaxime Coste
2017-11-10Wrap: fix scrolling to keep cursor visible logicMaxime Coste
2017-11-08InputHandler: handle of last insert keys happening in nested modesMaxime Coste
Move recording of keys to the input handler itself instead of the Insert mode so that eventual nested modes (potentially introduced by <a-;> will get their keys recorded as well). Fixes #1680
2017-11-08Fix pipe logic in the case where the selections were accessed in the cmdlineMaxime Coste
When using an env var that needed the selections in the pipe command line, say $kak_selection, the selection update code would run, modifying the selections to adapt to eventual changes. But the rest of the pipe logic was assuming the selections would not change, leading to bugs.
2017-11-07Buffer: change clamp logic to preserve orderingMaxime Coste
clamp could change ordering between a coordinate past the end. Say in a buffer with 1 line of 2 char: {0, 1} was clamped to {0, 1} {1, 0} was clamped to {0, 0} That was reversing their ordering, and might be the root cause of the bug lurking in undo range computation.
2017-11-07Slight code cleanup in change update functionsMaxime Coste
2017-11-06Add missing include in remote.ccMaxime Coste
strerror is defined in <string.h>
2017-11-06Do not allow rename-session to introduce '/' in session namesMaxime Coste
2017-11-05Merge remote-tracking branch 'lenormf/fix-private-commands-in-register'Maxime Coste
2017-11-04CommandManager: tweak namingMaxime Coste
2017-11-04Introduce matching_pairs option that controls the pairs used by `m`Maxime Coste