summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
AgeCommit message (Collapse)Author
2016-03-08Rework container helpers, use pipe syntax and cleanup implementationMaxime Coste
use 'container | filter(func) | reverse() | transform(func)' instead of 'transform(reverse(filter(container), func), func)' to express container transformations.
2016-03-03destroy buffer manager first but clear clients before destroying buffers.Maxime Coste
Fixes #612
2016-02-27Remove direct access to ui, go through clientMaxime Coste
Client can now update menu/info positions when the window move around.
2016-02-11Fix buffer deletion logicMaxime Coste
'eval -buffer * db' was failing in certain cases
2016-02-10Fix use of dead temporary strings in completionsMaxime Coste
2016-02-09Migrate most completion to ranked matchMaxime Coste
2015-12-23Extract jump list handling in a JumpList structMaxime Coste
2015-12-14Support quitting while executing RuntimeError hooksMaxime Coste
Fixes #529
2015-11-10Try to switch to last buffer when removing the current oneMaxime Coste
2015-11-07Store the last used buffer in clientsMaxime Coste
Fixes #474
2015-10-08Detect ungraceful exits, and backup modified buffers in these casesMaxime Coste
2015-08-26Add a kill command that kills the current sessionMaxime Coste
Fixes #331 A given session can be killed with 'echo kill | kak -p <session>'
2015-08-26Reorganize slightly local client creationMaxime Coste
2015-06-21Rework window redraw handling, should redraw window less oftenMaxime Coste
2015-06-03Get rid of the mode trash, delete mode directly when leaving on_keyMaxime Coste
2015-06-01Port even more code to use format functionMaxime Coste
2015-05-26Retreat ! go back to C++11 only codeMaxime Coste
This reverts commit b42de850314e7d76f873ddc7d64c5f7d2a30eb00.
2015-05-25Migrate code to c++14Maxime Coste
2015-03-30More useage of the format functionMaxime Coste
2015-03-14Small refactoring in client_manager.ccMaxime Coste
2015-03-13exception::what returns a StringView rather than a const char*Maxime Coste
2015-02-23Use RefPtr as SafePtr backendMaxime Coste
2015-01-26Release display buffers when a window is added to free listMaxime Coste
2015-01-04Another stule tweakMaxime Coste
2014-12-23Unify completion from container content logicMaxime Coste
2014-12-08More string cleanupsMaxime Coste
2014-11-29Rework client pending key handling, fix insert/normal timersMaxime Coste
2014-11-25Separate events between normal and urgent onesMaxime Coste
Run urgent ones while executing %sh blocks. Fixes #236
2014-10-20Port more code to StringView instead of const String&Maxime Coste
2014-08-18Do not escape completions in completer functions let the client decideMaxime Coste
Fixes #231
2014-08-12Defer deletion of buffers to after the event loopMaxime Coste
We can have SelectionList in flights on the buffer, so mark it for deletion by moving it in a buffer trash, and effectively delete it later, at a point where there should not be any further access to it.
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes
2014-05-13SelectionList know its buffer and timestampMaxime Coste
2014-04-18Use StringView for completion functionsMaxime Coste
2014-04-08Minor formatting fixes (very long lines)Maxime Coste
2014-04-07Add support for querying client environement variablesMaxime Coste
At connection, a remote client sends all its environement to the server, which then provides access to client env through kak_client_env_VAR_NAME variables in the shell.
2014-04-07Add ClientManager::complete_client_nameMaxime Coste
2014-02-12ClientManager: use lifo behaviour for free windowsMaxime Coste
2014-01-27Fix compilation with clang 3.4Maxime Coste
2013-12-20Get rid of Editor for goodMaxime Coste
ClientManager now stores only the free windows, clients take ownership of its own.
2013-12-15Move insert and erase to normal.cc, and move edition management to contextMaxime Coste
2013-12-07Add Client* ClientManager::get_client_ifp() that can return nullptrMaxime Coste
2013-11-14move Client::m_name to context, no more need for DraftUIMaxime Coste
2013-09-17Only redraw clients after handling all available eventsMaxime Coste
2013-09-16remove print_status from UserInterface, pass status line to drawMaxime Coste
Client store the current status line. This way calls to print status do not force the user interface to display directly.
2013-09-16Resurect Client::handle_available_input()Maxime Coste
2013-09-13Rework client name changeMaxime Coste
2013-09-12rename InputHandler to ClientMaxime Coste
2013-09-12Move Client responsibilities to InputHandlerMaxime Coste
InputHandler owns it's UserInterface, and is directly stored by the ClientManager.
2013-09-11Allow :exec mode changes to remains when keys are finishedMaxime Coste
Pass keys one by one to the input handler so that BatchUI is not needed We can now use :exec to pre-fill the command line without validating the command.