aboutsummaryrefslogtreecommitdiff
path: root/singleapplication_p.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update to 3.1.1aHEAD3.1.1amasterAqua-sama2020-04-131-9/+19
|\ | | | | | | Merge branch 'upstream' into staging
| * Add support for Qt < 5.10Leander Schulten2020-03-271-1/+10
| |
| * The codec for string from qgetenv and pw->pw_name is not necessarily utf8. ↵Leander Schulten2020-03-271-8/+9
| | | | | | | | So use QString::fromLocal8Bit and QStrings.
* | Fix old-style cast warningsAqua-sama2020-03-231-3/+3
|/
* v3.1.0a Added primaryUser()Itay Grudev2020-03-031-22/+38
| | | | Closes #95
* 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