aboutsummaryrefslogtreecommitdiff
path: root/singleapplication_p.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation warning/error (#74)iakov2019-10-101-5/+3
| | | | Fix `comparison between signed and unsigned integer expressions` problem. User ID is a positive integer in Linux/UNIX(macOS, FreeBSD, Solaris), also `geteuid()` never fails with return code.
* Use geteuid and getpwuid to get username on Unix, fallback to environment ↵Jonas Kvinge2019-09-221-15/+18
| | | | | | | | variable (#72) * Use geteuid and getpwuid to get username on Unix, fallback to environment variable * Remove QProcess include
* v3.0.143.0.14Itay Grudev2019-01-221-0/+2
|
* fixed build process below Qt 5.6 (#57)Patrizio Bekerle2018-12-141-0/+13
|
* Async socket processing (#49)3.0.13aFrancis Giraldeau2018-09-101-68/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Process socket events asynchronously Avoid blocking the event loop using waitForReadyRead(). Instead, process the initialization in two phases. It was necessary to add a map to keep track of the state of the initial message processing Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca> * Fix undefined variable on Windows The timout variable does not exists in this scope, we can safely remove the Q_UNUSED. Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca> * Fix validation logic of initial message I modified the logic to a positive value, but the modification was incomplete and caused the initial message to be incorrectly considered as invalid. Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca> * Use the proper socket when receiving message The socket variable is a class member, but we really want to use nextConnSocket when receiving the message in the lambda. Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>
* v3.0.12a Removed custom signal handling.3.0.12aItay Grudev2018-07-271-43/+0
|
* Proposed SA changes still containing a race condition (#48)3.0.11aItay Grudev2018-07-271-0/+392