summaryrefslogtreecommitdiff
path: root/src/register_manager.cc
AgeCommit message (Collapse)Author
2025-02-16Revert "WIP history register"Maxime Coste
This is not finished yet, and pushed by accident, again... This reverts commit 22b461c3a0b22dd4501943230f0774c34f0b4b35.
2025-02-10WIP history registerMaxime Coste
2024-08-12Move debug utils to debug.hh/debug.ccMaxime Coste
Lots of code includes buffer_utils.hh just for write_to_debug_buffer which pulls many unnecessary dependencies. Reorganise to reduce compile times.
2024-08-12Reduce headers dependency graphMaxime Coste
Move more code into the implementation files to reduce the amount of code pulled by headers.
2024-08-12Extract format implementation to its own fileMaxime Coste
Split it to avoid pulling all string_utils dependencies for just format.
2024-07-18Bump history max size to 1000Maxime Coste
100 was a bit small for long running sessions.
2024-06-23Fix trailing whitespacesMaxime Coste
2022-07-21Elide temporary vector when completing register namesJohannes Altmanninger
Just like in the parent commit, this requires us to use a non-owning type. Technically, these strings all benefit from SSO, so there is no lifetime issue, but we can't deduce that from the types. I guess we could use InplaceString just as well.
2022-07-05Store HistoryRegisters with most recent entry in frontMaxime Coste
Closes #3105
2022-06-07Filter empty entries when restoring HistoryRegistersMaxime Coste
Saving registers will create a single empty entry due to the way StaticRegister::get works. We do not really want those to be restored
2020-07-21Do not trigger RegisterModified hooks on register about to be restoredMaxime Coste
This greatly reduces the amount of hooks triggered.
2020-07-19Add a RegisterModified hookMaxime Coste
This one has been a long time coming, I am still concerned this could impact performance a lot. This hook does *not* trigger for capture registers (0-9) or any other dynamic registers (that are not writable). Fixes #859
2019-11-23src: Complete register names in `%reg{}` expansionsFrank LENORMAND
Builtin registers have name aliases that can be completed upon when using a `%reg{}` expansion from the prompt.
2017-10-10Move all non-core string code to string_utils.{hh,cc}Maxime Coste
2017-07-10Docs: add missing colon register (last entered command)Delapouite
2017-03-07Replace IdMap with HashMapMaxime Coste
2017-03-07Replace uses of UnorderedMap with HashMapMaxime Coste
2016-10-10Fix register alternate name doc and dash -> hash for '#'Maxime Coste
2016-10-09Document register alternate names and add some missing onesMaxime Coste
Fixes #853
2015-11-25Refactor registers to initialize all of them at startup and add null registerMaxime Coste
Fixes #497
2015-11-11Fix to_lower/to_upper handling to correctly support non unicode charsMaxime Coste
require a proper unicode locale setup on the system Fixes #94
2015-09-16Store key hash in IdMapMaxime Coste
2015-08-19Add alternative names to ^ (caret) and @ (arobase) registersMaxime Coste
2015-07-14Only allow 'sane' register namesMaxime Coste
Fixes #316
2015-06-01Port even more code to use format functionMaxime Coste
2015-03-10Refactor String, use a common StringOps interface, hide std::stringMaxime Coste
2015-03-09ArrayView content is not const anymoreMaxime Coste
As in upcoming std c++ array_view, ArrayView<T> points to mutable data, use ArrayView<const T> or alias ConstArrayView<T> for const data.
2015-01-14Even more memory trackingMaxime Coste
2015-01-12replace all std::vector with VectorMaxime Coste
2015-01-06Rename memoryview to ArrayViewMaxime Coste
2014-12-23Rename id_map to IdMapMaxime Coste
2014-12-23Unify completion from container content logicMaxime Coste
2014-12-23Move containers utils to containers.hh and add filtered/transformed utilsMaxime Coste
2014-06-06Add support for long names for registersMaxime Coste
We can now access register / with the name slash, * with star, and | with pipe Fixes #23
2013-07-26memoryview: always pass by valueMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2012-09-04add override markersMaxime Coste
2012-08-05Registers need a context to return their valuesMaxime Coste
2012-06-29support static and dynamic registers, add '%' (filename) and '.' (selection) ↵Maxime Coste
registers