summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
AgeCommit message (Collapse)Author
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.
2013-06-06remove Buffer:char_{distance,advance} use line access insteadMaxime Coste
2013-06-04Use coord instead of iterators for selectionsMaxime Coste
2013-05-13Use more std::* for string handlingMaxime Coste
2013-04-18Tweak status lineMaxime Coste
2013-04-15move Client as a public class instead of a ClientManager implementation detailMaxime Coste
2013-04-11exceptions: use const char* what() instead of String description()Maxime Coste
2013-04-11display character column instead of byte column in status lineMaxime Coste
2013-04-10Use the buffer manager to delete buffer, throw when a client is insertingMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-04-09move context implementation to context.ccMaxime Coste
2013-04-04UserInterface: status line messages are now DisplayLinesMaxime Coste
This add color support for the status line
2013-03-25move absolute path logic to Buffer classMaxime Coste
2013-03-25Always use absolute path for file buffer names, compact paths for displayMaxime Coste
2013-03-20Add a RuntimeError hook called when a runtime_error exception is catched at ↵Maxime Coste
client level
2013-03-15Editor: replace selections().back() with main_selection()Maxime Coste
2013-02-18move status line generation code to client managerMaxime Coste
2013-02-07ClientManager: move the Client inner class detail in the cpp fileMaxime Coste
2013-01-29Do not pass a context to InputHandler methodsMaxime Coste
2013-01-28InputHandler have it's own contextMaxime Coste
2013-01-14move input watching responsibility into UserInterface implementationsMaxime Coste
2013-01-10Refactor EventManagerMaxime Coste
Watching a file descriptor is now done using a FDWatcher object
2013-01-07Autoname client on creation, and access client name from shell with $kak_clientMaxime Coste
2012-12-28new clients always takes last used buffer, support multiple file on command lineMaxime Coste
2012-12-19Client: catch errors when executing init commandsMaxime Coste
2012-12-18Support initial command passing when a client is connectingMaxime Coste
2012-12-03ClientManager: support naming clients and accessing client's context by nameMaxime Coste
2012-11-26EventManager: avoid erasing an event handler while it may be in useMaxime Coste
2012-11-22ClientManager: store client with a unique_ptrMaxime Coste