summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-10-30Makefile: Use pkg-config on Linux to get the ncurses compilation flagsMaxime Coste
Fixes #1659
2017-10-28Slight cleanup of select_surrounding implementationMaxime Coste
2017-10-28Update breaking changes messageMaxime Coste
2017-10-28Move highlighters into ScopesMaxime Coste
That means we can now have highlighters active at global, buffer, and window scope. The add-highlighter and remove-highlighter syntax changed to take the parent path (scope/group/...) as a mandatory argument, superseeding the previous -group switch.
2017-10-28Display the fallback value in promptsMaxime Coste
Fixes #1654
2017-10-27HashMap: Tolerate reserving for 0 elementsMaxime Coste
Fixes #1652
2017-10-25Fix infinite loop shell_completeMaxime Coste
Fixes #1648
2017-10-25Merge remote-tracking branch 'net/master'Maxime Coste
2017-10-24Rename br* colors to bright-*Net
2017-10-25Fix regions highlighter infinite loops when regex matches empty rangesMaxime Coste
2017-10-24Add distinct w (curr buf) / W (all buf) word completion for <c-x>Delapouite
2017-10-22Support bright named colorsNet
2017-10-21Add missing include to meta.hhMaxime Coste
2017-10-20Disable constexpr keymap as it breaks compilation with gcc 5Maxime Coste
2017-10-20Merge remote-tracking branch 'fsub/master'Maxime Coste
2017-10-20Make the normal mode keymap a compile time hash mapMaxime Coste
This hash map is now fully constexpr, and ends up stored in the read only data segment instead of being recomputed at each startup.
2017-10-20Constexprify various hash functionsMaxime Coste
2017-10-20Move keymap as an implementation detail of the normal mode keysMaxime Coste
Only expose a free function that tries to get the NormalCmd from a key.
2017-10-19Avoid some warnings in optimized buildsfsub
2017-10-17Optimize CommandManager::execute handling of tokensMaxime Coste
Instead of walking a list of tokens and inserting eventual new ones in the middle, use a stack of token and push new ones on top.
2017-10-17Add a `fail` command to explicitely raise an errorMaxime Coste
2017-10-12Refactor column highlighter to make it more robustMaxime Coste
Support arbitrary orders for column highlighters (it was previously failing when column highlighters were not applied in column order). Fix show_matching tab handling at the same time (horizontal scrolling, tab characters and show_matching were behaving badly). Window highlighting now runs user highlighters, then built-ins for each phases, instead of running all phases for user highlighters, then all phases for built-ins. We now consider unprintable character to be 1-column width as we know we will display them as "�". Fixes #1615 Fixes #1023
2017-10-10Fix utf8::to_previous that could go before the begin iteratorMaxime Coste
2017-10-10Remove unused forward declarationMaxime Coste
2017-10-10Move all non-core string code to string_utils.{hh,cc}Maxime Coste
2017-10-10Make Server outlive buffer managerMaxime Coste
Fixes crashes when trying to access the server to get the session on hooks run during destruction of other managers. Fixes #1622
2017-10-07Make utf8_iterator traits clear about it returning non-referencesMaxime Coste
2017-10-07Add is_upper and is_lower helper unicode functionsMaxime Coste
2017-10-07Merge remote-tracking branch 'Delapouite/docs-scroll'Maxime Coste
2017-10-06Move HookManager::Hook definition in the cppMaxime Coste
This avoids including regex.hh in the header.
2017-10-06Add missing operator+= and -= on utf8_iteratorMaxime Coste
Fix operator== and != that were non-const as well.
2017-10-06Merge remote-tracking branch 'Delapouite/client_list'Maxime Coste
2017-10-06Merge remote-tracking branch 'Delapouite/complete-line'Maxime Coste
2017-10-06Merge remote-tracking branch 'Delapouite/debug-mappings'Maxime Coste
2017-10-06Remove unneeded regex.hh include in color.ccMaxime Coste
2017-10-06Allow itersel with draft context to change the bufferMaxime Coste
That way we can cater to the use case of executing some keys for `:grep` matches with `exec -itersel -draft :grep-jump<ret>...`
2017-10-06Add more constexpr to flags wrapping functionsMaxime Coste
2017-10-06formatting tweakMaxime Coste
2017-10-05Add client_list varDelapouite
2017-10-04Docs: add missing normal keys <c-[bfud]>Delapouite
2017-10-03Add debug mappingsDelapouite
2017-10-02Add 'line' in completers option as a way to force explicit <c-x>fDelapouite
2017-09-28Distinguish between modes being disabled temporarily and definitelyMaxime Coste
That way, insert mode knows when it can restore selections/avoid eol instead of (wrongly) doing it in the destructor that ends up running unpredictibly (as the mode is kept alive during its on_key call, even though it can happen that it is not the active mode anymore at the end of that call). Fixes #1580
2017-09-28Merge remote-tracking branch 'Delapouite/runtime-error'Maxime Coste
2017-09-28Merge remote-tracking branch 'Delapouite/jump'Maxime Coste
2017-09-27Display selections count in insert mode the same it's displayed in normal modeDelapouite
2017-09-27Convert status info into proper runtime_errorsDelapouite
2017-09-27Add status info when navigating through jumplist (<c-o>, <c-i>)Delapouite
2017-09-27Removing the local client due to SIGHUP is not gracefulMaxime Coste
That means we will now backup modified buffers if that client was the last. Should improve things for #1590
2017-09-26Add selections_desc format to select autoinfoDelapouite