summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/remoteserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersIikka Eklund2015-12-291-4/+3
| | | | | | | | | Update existing license headers. LGPL -> LGPLv21. Update copyright year as well. Change-Id: Ie1d71f8c68186b8f625f409ddf94691f178093c9 Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Use local sockets for client-server communicationKai Koehne2015-02-201-12/+12
| | | | | | Change-Id: I12bfef671ab31ae9fb8c4bb02776517e7f434d27 Task-number: QTIFW-228 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update CopyrightKai Koehne2015-02-181-7/+7
| | | | | Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* RemoteServer: Make sure we don't write to stderrKai Koehne2015-02-021-0/+8
| | | | | | | | | | | | | In adminauthorization_x11.cpp we redirect stderr of the child process to a pipe, but do not read from it anymore after sudo completed. Which means, if the server process continues to write into the pipe it'll block at some point. Avoid this by always closing the stderr handle in production mode. Change-Id: If1e9578f12d7a0f60811f9c2b43cd9c18adfea59 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Remove pointer, superfluous members. Use signals and slots.kh2014-11-281-2/+3
| | | | | | | | | Use signals and slots to tell about the shutdown request. Instead of passing around the server pointer, give the port and key as parameter. Change-Id: I0ad1667aa1caee4ffdee8b6951336f2254974810 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Implement a way to start the server in debug mode and API cleanup.kh2014-11-261-16/+28
| | | | | | | | | | | | 1; Passing debug as first argument to the starting server does not start the server side so the server keeps running in an endless loop. This makes it far easier to attach a debugger. 2; API cleanup and unify init function to take port, key, and mode. The address was never able to be changed anyway, so stop passing them around. Change-Id: I2a847f009ed1557a5e136e2b0006de5c62426da2 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix typo.kh2014-11-261-1/+1
| | | | | Change-Id: I6a0b2138dd3c4d085e1f1f3f4848910fbf43c2e3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Make it possible to register the Repository class independently.kh12014-11-121-0/+3
| | | | | | | | | | | Fixes for example invalid repository entries inside the config files after streaming the type as QVariant over the connection and recreating it client or server-side. Task-number: QTIFW-569 Change-Id: Ide328d1e6f73ff538a1b107fcc915e0a260cce24 Reviewed-by: Christoph VogtlÃĪnder <c.vogtlaender@sigma-surface-science.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Add LGPLv3 as new licenseKai Koehne2014-10-161-14/+7
| | | | | | | Change-Id: I61158f956894e209dccf83744b4753774676099d Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
* Initialize both client and server with default values.kh12014-06-231-6/+2
| | | | | Change-Id: I51934b0de77b1062153f5f60be44d4bcf4be5ee5 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Introduce new classes for client-server communication.kh12014-06-031-0/+122
Still based on what we had already, though more separated. Change-Id: I4cce298003a4ffc2ebcec01fea1a07adfbfdf990 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>