aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Ensure data sent via SingleApplication::sendMessage is received completelyNils Jeisecke2021-06-012-30/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | Whilst the initial "connect" message is framed with a length header, this was missing for the user data. Thus there was no guarantee that the message frame was really received completely on emitting the "receivedMessage" signal. This change splits the previous "StageConnected" state into "StageConnectedHeader" and "StageConnectedBody" and does some refactoring to allow using the same write and read functions as the "init" messages.
| * Add simple acknowledge protocol to ensure the server has received all dataNils Jeisecke2021-05-313-14/+31
|/ | | | | | | | | | | | | | | The server now acknowledges every received message by sending a \r. By waiting for the acknowledgement, clients should no longer terminate too early, causing bytes getting lost in Qt's internal socket handling. Message handling in the server is simplified because we can now rely on the readyRead signal being raised for every frame. This should finally solve #125 and #121. What remains is to correctly handle data sent using SingleApplication::sendMessage.
* Merge pull request #132 from ↵Itay Grudev2021-04-291-1/+0
|\ | | | | | | | | itay-grudev/removed_incorrect_coment_in_basic_example Removed incorrect comment in the basic example
| * Removed incorreced comment in the basic exampleItay Grudev2021-04-281-1/+0
|/ | | Fixes #131
* Simplify randomSleep() for old Qt versionShatur952021-04-121-1/+1
|
* Merge pull request #129 from jonaski/signalslotsItay Grudev2021-03-261-7/+7
|\ | | | | Fix signal-slot issues
| * Fix signal-slot issuesJonas Kvinge2021-03-261-7/+7
|/
* Mark getters as constShatur952021-01-252-20/+20
|
* Merge pull request #125 from dail8859/fix-123Itay Grudev2020-12-251-2/+3
|\ | | | | Remove ConnectionInfo after socket is destroyed
| * Update singleapplication_p.cppdail88592020-12-231-2/+1
| | | | | | Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
| * Remove ConnectionInfo after socket is destroyeddail88592020-12-221-3/+5
|/ | | | | | This leaves the ConnectionInfo in a valid state, even after the socket is disconnected, which could still have a readyRead() signal emitted. Closes #123
* Merge pull request #124 from Shatur95/use-const-referenceItay Grudev2020-12-213-6/+6
|\ | | | | Use const reference and bump GitHub actions
| * Set Ubuntu version explicitlyShatur952020-12-211-2/+2
| |
| * Bump GitHub actionsShatur952020-12-211-2/+2
| |
| * Pass usedData by const referenceShatur952020-12-212-2/+2
|/
* Merge pull request #122 from LorenDB/masterItay Grudev2020-12-175-7/+39
|\ | | | | Allow adding unique userdata to instances
| * Allow adding unique userdata to instancesLoren Burkholder2020-12-165-7/+39
|/
* Update CHANGELOG.mdv3.2.0Itay Grudev2020-11-231-0/+2
|
* Merge pull request #120 from Shatur95/masterJonas Kvinge2020-10-274-11/+23
|\ | | | | Add Qt6 CI builds
| * Enable checks for warningsShatur952020-10-241-0/+8
| |
| * Add Qt6 configurationShatur952020-10-244-11/+15
|/
* Merge pull request #118 from Shatur95/improve-qt6-supportItay Grudev2020-10-211-5/+7
|\ | | | | Use QT_DEFAULT_MAJOR_VERSION
| * Use QT_DEFAULT_MAJOR_VERSIONShatur952020-10-211-5/+7
|/
* Update README.mdItay Grudev2020-10-191-1/+1
|
* v3.2.0 ChangelogItay Grudev2020-10-181-0/+8
|
* Update build-cmake.ymlItay Grudev2020-10-181-1/+1
| | | Disabled Qt 6 build specs temporarily
* Added Qt 6.0 to the build testsItay Grudev2020-10-181-1/+1
|
* Merge pull request #114 from Shatur95/fix-clang-tidy-warningsItay Grudev2020-10-183-22/+19
|\ | | | | Fix Clang Tidy warnings
| * Remove extra Q_DShatur952020-10-151-1/+0
| | | | | | | | No longer needed as getUsername() is now static.
| * Remove unused marcoShatur952020-10-151-2/+0
| | | | | | | | No longer needed since applicationPid() now is static.
| * Fix Clang Tidy warningsShatur952020-10-153-19/+19
| | | | | | | | | | | | | | readability-convert-member-functions-to-static readability-static-accessed-through-instance readability-make-member-function-const readability-inconsistent-declaration-parameter-name
* | Merge pull request #116 from jonaski/qt6-cmakeItay Grudev2020-10-181-8/+12
|\ \ | | | | | | Update CMake to support Qt 6
| * | Update CMake to support Qt 6Jonas Kvinge2020-10-181-8/+12
| |/
* | Merge pull request #117 from jonaski/qt6-checksumItay Grudev2020-10-181-5/+15
|\ \ | |/ |/| Fix use of qChecksum with Qt 6
| * Fix use of qChecksum with Qt 6Jonas Kvinge2020-10-181-5/+15
|/
* Merge pull request #113 from Shatur95/fix-conversion-warningItay Grudev2020-10-152-4/+4
|\ | | | | Fix conversion from int to quint32
| * Update install-qt-actionShatur952020-10-151-1/+1
| |
| * Fix implicit conversionShatur952020-10-151-2/+2
| |
| * Fix conversion from int to quint32Shatur952020-10-101-1/+1
|/
* Merge pull request #112 from iakov/patch-1Itay Grudev2020-10-061-1/+3
|\ | | | | Fix build issue with MinGW GCC pedantic mode
| * Fix build issue with MinGW GCC pedantic modeiakov2020-10-061-1/+3
|/ | | Without guard this define from https://github.com/itay-grudev/SingleApplication/commit/3230430311c3b9d027a0ef23c3657eed3caaa696#diff-35c7c4188004bde084344a3aa8eeab6dR60 introduced compilation warning/error, and can break compilation
* Merge pull request #111 from jonaski/connecttoprimaryItay Grudev2020-10-061-3/+2
|\ | | | | Fix return value of connectToPrimary() when connect is successful
| * Fix return value of connectToPrimary() when connect is successfulJonas Kvinge2020-10-051-3/+2
|/
* Merge pull request #110 from Kolcha/qt59-msvcItay Grudev2020-10-041-0/+1
|\ | | | | fixed build with Qt 5.9 MSVC2017
| * fixed build with Qt 5.9 MSVC2017Nick Korotysh2020-10-021-0/+1
|/ | | | | | define NOMINMAX before <Windows.h> inclusion to disable min/max macros defined in it. these macros conflict with any min/max functions and it is common practice to disable them adding NOMINMAX define.
* Fixed typo in the CHANGELOGItay Grudev2020-09-091-2/+2
|
* v3.1.5v3.1.5Itay Grudev2020-09-091-3/+9
|
* Removed debugging information for the instanceStarted signalItay Grudev2020-09-091-1/+0
|
* Mitigated QSharedMemory initialization failures Itay Grudev2020-09-091-0/+4
| | | Mitigated QSharedMemory initialization failures due to large amount of processes attempting to get hold of the shared memory block at the same time
* Improved the connectToPrimary() method and fixed issue with ↵Itay Grudev2020-09-093-36/+46
| | | | instanceStarted() not getting emitted