summaryrefslogtreecommitdiff
path: root/src/client.hh
AgeCommit message (Collapse)Author
2014-11-10Add ui_options option for UserInterface configurationMaxime Coste
ui_options is a std::unordered_map<String, String> that gets forwarded to the user interface. Add support ncurses_status_on_top.
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-08-12Tweak client redraw logic, avoid highlight if only status line changedMaxime Coste
2014-08-12Make safe_ptr able to track callstacksMaxime Coste
The code stays disabled, as the performance penalty is quite high, but can be enabled to help debugging safe pointers.
2014-07-07Fix redrawing of windows when only the status line changesMaxime 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.
2013-12-20Get rid of Editor for goodMaxime Coste
ClientManager now stores only the free windows, clients take ownership of its own.
2013-11-14extract InputHandler to input_handler.{cc,hh}Maxime Coste
2013-11-14move Client::m_name to context, no more need for DraftUIMaxime Coste
2013-11-14Extract InputHandler from ClientMaxime Coste
2013-10-15Detect file external modification and ask the user whether to reload or notMaxime Coste
* Buffer now store a m_fs_timestamp field. * Client in Normal mode checks current buffer file every 500 ms, or each time it goes back to Normal mode.
2013-10-15Reset normal mode when changing the current editorMaxime Coste
2013-10-11Let InputModes describe themselves for status line displayMaxime Coste
2013-09-27minor cleanupMaxime Coste
2013-09-16Add a InputMode::on_replaced virtual method.Maxime Coste
Destructors are not a good place to run mode exit hooks, as they wont be called until the next mode trash clearing, so we now call this virtual method on the previous mode just before it gets replaced.
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
2012-10-17rename Client to InputHandlerMaxime Coste
2012-09-26Move last insertion from Client to ContextMaxime Coste
2012-09-26Extract IncrementalInserter::Mode as InsertModeMaxime Coste
move ClientMode classes in a namespace due to InsertMode name collisions
2012-09-26Move UserInterface out of Client into ContextMaxime Coste
2012-09-24Hide more Client Mode code in the cppMaxime Coste
2012-09-24extract Client virtual methods to a UserInterface classMaxime Coste
2012-09-24move Client::Mode class definition in client.ccMaxime Coste
2012-09-05simplify menu apiMaxime Coste
2012-09-05Handle inserting in Client::InsertModeMaxime Coste
2012-09-05Add client::on_next_key method to run some code when the next key arrivesMaxime Coste
2012-09-04Client::MenuMode wrap through options with j/k Ctrl-n/Ctrl-p and tabMaxime Coste
2012-09-03Add MenuCommand::SelectNone and use it when tab completions goes back to ↵Maxime Coste
original string
2012-09-03move input handling, including menu and prompt, to the Client classMaxime Coste
2012-08-31NCurses: use menu for tab completionMaxime Coste
2012-08-30Change client menu api to give more control to the callerMaxime Coste
2012-08-30More useable menu implementation on ncursesMaxime Coste
2012-08-15Store the current client in contextMaxime Coste
2012-08-05Registers need a context to return their valuesMaxime Coste
2012-06-28Rename UI to ClientMaxime Coste