summaryrefslogtreecommitdiff
path: root/src/net/ipc.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-09-15Fix code style.Andrei Karas1-2/+3
2017-09-07Fix possible thread structure memory leak on SDL2 if thread terminated ↵Andrei Karas1-3/+1
before cleanup.
2017-08-21Remove useless else.Andrei Karas1-4/+2
2017-07-14Replace std::vector into macro STD_VECTOR.Andrei Karas1-2/+2
In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features.
2017-06-29Move foreach macroses into separate file.Andrei Karas1-0/+1
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-11/+11
2017-05-08Fix leaks in ipc.Andrei Karas1-0/+1
2017-05-08Allow run ipc commands before connected to server.Andrei Karas1-0/+21
2017-05-08Add command line parameter --enable-ipc for enable ipc at start.Andrei Karas1-0/+1
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-1/+2
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-1/+1
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-08-09Add some missing checks to other files found by paranucker.Andrei Karas1-2/+2
2015-08-03Add gui mode for dyecmd. Now only basic code added.Andrei Karas1-0/+3
2015-03-16Remove useless includes from cpp filesAndrei Karas1-2/+0
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-08-01Fix code style.Andrei Karas1-10/+8
2014-07-29Use thread safe way for ipc interaction.Andrei Karas1-3/+30
2014-07-19In ipc replace some other SDL_net calls into TcpNet.Andrei Karas1-2/+2
2014-07-19Remove unused include from ipc.Andrei Karas1-2/+0
2014-07-19Reorder variables in ipc.Andrei Karas1-3/+3
2014-07-19Fix memory leak in ipc on client exit.Andrei Karas1-4/+13
2014-07-19In ipc code replace SLD_net into tcpnet.Andrei Karas1-22/+22
2014-07-19Fix memory leak with ipc port selection.Andrei Karas1-3/+7
2014-07-19Fix possible infinite loop in ipc code.Andrei Karas1-5/+5
2014-07-19Remove from ipc code try/catch and add missing check.Andrei Karas1-42/+34
2014-07-19Fix different style issues in ipc code.Andrei Karas1-34/+28
2014-07-19fix warnings from mplintVincent Petithory1-0/+2
2014-07-19IPC: remove message typesr; forward raw string to chatInputVincent Petithory1-38/+9
2014-07-19IPC: fix copyrightVincent Petithory1-1/+1
2014-07-19Add IPC:Vincent Petithory1-0/+208
Manaplus now accepts connections on the 44007 port. * Uses SDL_Net/SDL_Thread. * Port can be changed with envvar IPC_PORT. * Default port is first checked then incremented until one is available. * start on demand with /ipctoggle (shuts down server socket) It has a simple text protocol: TYPE arg1 [args]... Message types: * CMD: execs a command supported by manaplus, e.g /emote * LTALK: talks in general tab * TALK: talks in current focused tab * [TODO] KEY: do as if the KEY was pressed on keyboard