kakoune/src
Maxime Coste f0285a8e60 Move hook executing logic into HookManager
The existing HookManager was able to run arbitrary hook functions,
but in practice was only used for user provided textual hooks.

That separation was causing some suboptimal performances, by moving
that logic directly in the hook manager we can improve hook filtering
performance which is a big part of startup time when opening lots
of files.
2017-06-07 12:33:39 +01:00
..
.gdbinit update gdbinit 2014-01-27 19:51:58 +00:00
alias_registry.cc Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
alias_registry.hh Remove some unneeded type declarations in AliasRegistry 2017-03-24 20:13:18 +00:00
array_view.hh Remove unused and potentially error prone constructor from ArrayView 2017-05-26 09:25:25 +01:00
assert.cc Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
assert.hh Use false instead of 0 in the kak_assert do while 2017-02-23 00:03:11 +00:00
backtrace.cc Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
backtrace.hh Return a String in Backtrace::desc 2015-05-29 13:35:54 +01:00
buffer_manager.cc Small cleanup in BufferManager code 2016-11-29 19:12:10 +00:00
buffer_manager.hh Small cleanup in BufferManager code 2016-11-29 19:12:10 +00:00
buffer_utils.cc Add a -debug flag to :edit to set the buffer as debug data 2017-03-08 19:33:25 +00:00
buffer_utils.hh Add a -debug flag to :edit to set the buffer as debug data 2017-03-08 19:33:25 +00:00
buffer.cc Small style tweak 2017-06-07 11:40:13 +01:00
buffer.hh noexept-ify BufferIterator methods 2017-06-07 10:58:01 +01:00
buffer.inl.hh noexept-ify BufferIterator methods 2017-06-07 10:58:01 +01:00
changes.cc Fix overly strict backward_sorted_until 2017-02-20 19:46:12 +00:00
changes.hh Update ranges highlighter options according to buffer changes 2017-01-13 13:52:55 +00:00
client_manager.cc Small code tweak 2017-05-27 06:17:44 +01:00
client_manager.hh Remove unused WindowAndSelections timestamp field 2017-01-29 12:50:16 +00:00
client.cc Log errors written to the status line inside the debug buffer as well 2017-06-04 08:48:23 +01:00
client.hh Remove virtual destructor from OptionManagerWatcher 2017-05-22 10:31:56 +01:00
clock.hh Introduce chrono.hh 2016-07-24 21:25:05 +01:00
color.cc Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
color.hh Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
command_manager.cc Improve readability of command docstrings by changing formatting 2017-06-04 08:37:51 +01:00
command_manager.hh Remove some now unneeded uses of const String& params 2017-04-10 21:33:20 +01:00
commands.cc Move hook executing logic into HookManager 2017-06-07 12:33:39 +01:00
commands.hh Remove the exec_keys function 2015-12-27 23:15:09 +00:00
completion.cc Cleanup include dependencies a bit 2016-11-28 23:58:08 +00:00
completion.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
containers.hh Change ncurses_ui info box generation logic to use a Vector<String> 2017-05-28 19:58:18 +01:00
context.cc Fix bug where idle timers of disabled modes were still run 2017-05-22 16:57:22 +01:00
context.hh Move NestedBool to utils.hh 2017-06-07 11:55:42 +01:00
coord.hh Support codepoints of variable width 2016-10-01 13:45:00 +01:00
diff.hh Remove unused Diff::posA field 2017-01-29 12:49:52 +00:00
display_buffer.cc Distinguish between BufferRanges and InclusiveBufferRanges 2017-05-08 12:34:57 +01:00
display_buffer.hh Small documentation tweak in display_buffer.hh 2017-05-26 08:00:15 +01:00
enum.hh Move constexpr compatible Array struct to meta.hh 2017-05-17 20:20:31 +01:00
env_vars.cc Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
env_vars.hh Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
event_manager.cc Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
event_manager.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
face_registry.cc fix: remove duplicate include to containers.hh in face_registry.cc 2017-05-30 20:01:31 +02:00
face_registry.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
face.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
file.cc small code cleanups 2017-05-17 20:17:16 +01:00
file.hh src: Implement a write! command 2017-04-20 17:13:42 +03:00
flags.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
hash_map.cc Expand a bit the hash map profiling code 2017-03-07 14:01:01 +00:00
hash_map.hh Try to please clang-3.5 2017-03-07 17:21:55 +00:00
hash.cc Rework hashing, use a more extensible framework similar to n3876 proposal 2014-12-16 18:57:19 +00:00
hash.hh Introduce a custom HashMap implementation along with a quick benchmark 2017-03-06 22:25:08 +00:00
highlighter_group.cc Move passes logic to the base Highlighter class 2017-05-07 16:26:14 +01:00
highlighter_group.hh Move passes logic to the base Highlighter class 2017-05-07 16:26:14 +01:00
highlighter.hh Disable horizontal scroll offset support when wrapping 2017-05-11 09:23:20 +01:00
highlighters.cc Merge remote-tracking branch 'Delapouite/typo' 2017-05-29 10:20:21 +01:00
highlighters.hh Add an update-option command to update range-descs/line-descs options 2017-05-25 19:54:08 +01:00
hook_manager.cc Move hook executing logic into HookManager 2017-06-07 12:33:39 +01:00
hook_manager.hh Move hook executing logic into HookManager 2017-06-07 12:33:39 +01:00
input_handler.cc Parse meta as 8 bit in Normal mode to fix the terminals using that 2017-05-27 06:18:39 +01:00
input_handler.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
insert_completer.cc Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
insert_completer.hh Remove virtual destructor from OptionManagerWatcher 2017-05-22 10:31:56 +01:00
json_ui.cc Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
json_ui.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
keymap_manager.cc Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
keymap_manager.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
keys.cc Name key '+' as plus and '-' as minus 2017-04-11 10:47:15 +01:00
keys.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
line_modification.cc Use variadic macros for kak_assert to remove the need for COMMA 2016-05-17 19:39:55 +01:00
line_modification.hh Rewrite line modifications, hopefully with easier to comprehend code 2015-01-31 23:50:24 +00:00
main.cc Expose kak_buf_line_count 2017-06-06 14:29:06 +02:00
Makefile Put the doc/manpages/ pages in the 'k' section 2017-05-27 07:35:13 +01:00
memory.cc refactor slighly memory domain handling 2015-01-12 19:48:51 +00:00
memory.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
meta.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
ncurses_ui.cc Re-hide hardware cursor, seems its causing troubles with various terminal emulator 2017-05-29 10:02:18 +01:00
ncurses_ui.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
normal.cc Merge remote-tracking branch 'Delapouite/underscore' 2017-06-07 07:48:57 +01:00
normal.hh Use a HashMap to store the normal mode keymap 2017-03-16 23:40:38 +00:00
option_manager.cc Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
option_manager.hh Add an update-option command to update range-descs/line-descs options 2017-05-25 19:54:08 +01:00
option_types.hh Support option_add for HashMap options 2017-06-03 18:01:38 +01:00
option.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
optional.hh Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
parameters_parser.cc Improve readability of command docstrings by changing formatting 2017-06-04 08:37:51 +01:00
parameters_parser.hh Small code tweaks regarding flags handling 2017-03-15 18:25:59 +00:00
ranked_match.cc Change RankedMatch ordering to favor / characters 2017-06-04 08:27:53 +01:00
ranked_match.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
ref_ptr.hh Add some noexcept to pointer policies 2017-01-31 21:45:55 +00:00
regex.cc Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
regex.hh Fix regex.hh compilation 2016-12-14 23:50:29 +00:00
register_manager.cc Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
register_manager.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
remote.cc Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
remote.hh Support the +line syntax for clients as well. 2017-01-21 12:17:49 +00:00
safe_ptr.hh Add some noexcept to pointer policies 2017-01-31 21:45:55 +00:00
scope.hh small code formatting fix 2015-04-09 16:28:13 +01:00
selection.cc Move SelectionList::set implementation out of the header 2017-03-15 16:51:55 +00:00
selection.hh Move SelectionList::set implementation out of the header 2017-03-15 16:51:55 +00:00
selectors.cc Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
selectors.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
shared_string.cc Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
shared_string.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
shell_manager.cc Set stdin to /dev/null instead of closing it when we dont have data to pipe to child 2017-04-22 09:39:55 +01:00
shell_manager.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
string.cc Fix horrible leak in String::Data::operator=(String::Data&&) 2016-11-23 01:09:09 +00:00
string.hh Fix spurious copies being made when using the format function 2017-06-06 08:50:51 +01:00
unicode.hh Add noexcept specifiers to unicode and utf8 functions 2017-04-23 12:47:26 +01:00
unit_tests.cc Small refactor in unit tests 2015-05-24 22:34:05 +01:00
unit_tests.hh Small refactor in unit tests 2015-05-24 22:34:05 +01:00
units.hh Make StringView and unit types trivial types 2017-01-29 13:49:45 +00:00
user_interface.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
utf8_iterator.hh noexcept-ify utf8::iterator methods 2017-06-07 10:58:49 +01:00
utf8.hh Add noexcept specifiers to unicode and utf8 functions 2017-04-23 12:47:26 +01:00
utils.hh Move NestedBool to utils.hh 2017-06-07 11:55:42 +01:00
value.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
vector.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
window.cc Move SimpleHighlighter as an implementation detail 2017-05-08 11:29:23 +01:00
window.hh Remove virtual destructor from OptionManagerWatcher 2017-05-22 10:31:56 +01:00
word_db.cc Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
word_db.hh Remove virtual destructor from OptionManagerWatcher 2017-05-22 10:31:56 +01:00