summaryrefslogtreecommitdiff
path: root/src/remote.cc
AgeCommit message (Collapse)Author
2015-08-22Avoid double session closingMaxime Coste
2015-08-22Format session socket name in place into the sockaddr_unMaxime Coste
2015-06-17Move status/mode line drawing as a separate ui methodMaxime Coste
2015-06-06Move write_debug to buffer utils as write_to_debug_bufferMaxime Coste
2015-06-04Fix support for default face on remote clientsMaxime Coste
2015-06-01Port even more code to use format functionMaxime Coste
2015-06-01Port more code to use the format function instead of adhoc string concatMaxime Coste
2015-04-25Move Colors enum class as NamedColor enum inside Color structMaxime Coste
2015-04-19Make empty context construction more explicitMaxime 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-16Rework hashing, use a more extensible framework similar to n3876 proposalMaxime Coste
std::hash specialization is a pain to work with, stop using that, and just specialize a 'size_t hash_value(const T&)' free function.
2014-12-03Use a select based event handling and fix deadlockMaxime Coste
2014-11-25Separate events between normal and urgent onesMaxime Coste
Run urgent ones while executing %sh blocks. Fixes #236
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-11-08Add a MenuDoc style for info box, that will place it next to the menuMaxime Coste
2014-11-06Small refactoring in remote.ccMaxime Coste
2014-11-05Simplify RemoteClient creation codeMaxime Coste
2014-11-05Fix potential alignment bugMaxime Coste
2014-10-20Port more code to StringView instead of const String&Maxime Coste
2014-10-03Use InternedStrings for buffer contentsMaxime Coste
2014-08-11Add an operator[](CharCount) to String and StringViewMaxime Coste
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
2014-04-30Use StringView in UserInterface and NCursesUIMaxime Coste
2014-04-23Support reading strings more that 2048 bytesMaxime Coste
fixes #95
2014-04-15Add an explicit refresh method to user interfaceMaxime Coste
With this refresh method user interface can defer updating the display until really needed.
2014-04-15RemoteClient process all available messagesMaxime 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-05code formatting tweakMaxime Coste
2014-03-25do not write the trailing nul char in send_commandsMaxime Coste
That triggered creation of a new client, followed by it's immediate destruction due to the connection closing.
2014-03-25Server: correctly handle Accepters lifetimeMaxime Coste
When exiting kakoune, ClientAccepters (now Server::Accepter) could stay alive, which left an FDWatcher in the EventManager triggering an assert. Now Server is handling their lifetime.
2014-03-21Correctly handle failing to connect to the given session in client modeMaxime Coste
2014-03-02Add -p <session> option to kak, which forward commands on stdin to sessionMaxime Coste
This allows using directly the kak binary in place of socat for piping commands to a foreing session.
2014-03-02Rename connect_to's pid parameter to sessionMaxime Coste
2014-01-27Remove session socket on error signalMaxime Coste
2013-10-11Pass title to UserInterface::info_showMaxime Coste
Move unicode box generation and assistant code as a NcursesUI implementation detail.
2013-09-25Remove $kak_socket replaced with $kak_sessionMaxime Coste
use /tmp/kak-$kak_session to get the socket path
2013-09-19Add a -s command line option for specifying session nameMaxime 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-08-28handle client disconnection without crashingMaxime Coste
2013-07-31fix c++11 union use in remote.ccMaxime Coste
2013-07-28Minor code cleanupsMaxime Coste
2013-07-26read<T>(int socket): type aliasing complianceMaxime Coste
2013-07-26memoryview: always pass by valueMaxime Coste
2013-07-26Color,ColorPair: always pass by copyMaxime Coste
2013-07-24merge AtomContent into DisplayAtomMaxime Coste