Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Ensure data sent via SingleApplication::sendMessage is received completely | Nils Jeisecke | 2021-06-01 | 2 | -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 data | Nils Jeisecke | 2021-05-31 | 3 | -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 Grudev | 2021-04-29 | 1 | -1/+0 | |
|\ | | | | | | | | | itay-grudev/removed_incorrect_coment_in_basic_example Removed incorrect comment in the basic example | |||||
| * | Removed incorreced comment in the basic example | Itay Grudev | 2021-04-28 | 1 | -1/+0 | |
|/ | | | Fixes #131 | |||||
* | Simplify randomSleep() for old Qt version | Shatur95 | 2021-04-12 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #129 from jonaski/signalslots | Itay Grudev | 2021-03-26 | 1 | -7/+7 | |
|\ | | | | | Fix signal-slot issues | |||||
| * | Fix signal-slot issues | Jonas Kvinge | 2021-03-26 | 1 | -7/+7 | |
|/ | ||||||
* | Mark getters as const | Shatur95 | 2021-01-25 | 2 | -20/+20 | |
| | ||||||
* | Merge pull request #125 from dail8859/fix-123 | Itay Grudev | 2020-12-25 | 1 | -2/+3 | |
|\ | | | | | Remove ConnectionInfo after socket is destroyed | |||||
| * | Update singleapplication_p.cpp | dail8859 | 2020-12-23 | 1 | -2/+1 | |
| | | | | | | Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com> | |||||
| * | Remove ConnectionInfo after socket is destroyed | dail8859 | 2020-12-22 | 1 | -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-reference | Itay Grudev | 2020-12-21 | 3 | -6/+6 | |
|\ | | | | | Use const reference and bump GitHub actions | |||||
| * | Set Ubuntu version explicitly | Shatur95 | 2020-12-21 | 1 | -2/+2 | |
| | | ||||||
| * | Bump GitHub actions | Shatur95 | 2020-12-21 | 1 | -2/+2 | |
| | | ||||||
| * | Pass usedData by const reference | Shatur95 | 2020-12-21 | 2 | -2/+2 | |
|/ | ||||||
* | Merge pull request #122 from LorenDB/master | Itay Grudev | 2020-12-17 | 5 | -7/+39 | |
|\ | | | | | Allow adding unique userdata to instances | |||||
| * | Allow adding unique userdata to instances | Loren Burkholder | 2020-12-16 | 5 | -7/+39 | |
|/ | ||||||
* | Update CHANGELOG.mdv3.2.0 | Itay Grudev | 2020-11-23 | 1 | -0/+2 | |
| | ||||||
* | Merge pull request #120 from Shatur95/master | Jonas Kvinge | 2020-10-27 | 4 | -11/+23 | |
|\ | | | | | Add Qt6 CI builds | |||||
| * | Enable checks for warnings | Shatur95 | 2020-10-24 | 1 | -0/+8 | |
| | | ||||||
| * | Add Qt6 configuration | Shatur95 | 2020-10-24 | 4 | -11/+15 | |
|/ | ||||||
* | Merge pull request #118 from Shatur95/improve-qt6-support | Itay Grudev | 2020-10-21 | 1 | -5/+7 | |
|\ | | | | | Use QT_DEFAULT_MAJOR_VERSION | |||||
| * | Use QT_DEFAULT_MAJOR_VERSION | Shatur95 | 2020-10-21 | 1 | -5/+7 | |
|/ | ||||||
* | Update README.md | Itay Grudev | 2020-10-19 | 1 | -1/+1 | |
| | ||||||
* | v3.2.0 Changelog | Itay Grudev | 2020-10-18 | 1 | -0/+8 | |
| | ||||||
* | Update build-cmake.yml | Itay Grudev | 2020-10-18 | 1 | -1/+1 | |
| | | | Disabled Qt 6 build specs temporarily | |||||
* | Added Qt 6.0 to the build tests | Itay Grudev | 2020-10-18 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #114 from Shatur95/fix-clang-tidy-warnings | Itay Grudev | 2020-10-18 | 3 | -22/+19 | |
|\ | | | | | Fix Clang Tidy warnings | |||||
| * | Remove extra Q_D | Shatur95 | 2020-10-15 | 1 | -1/+0 | |
| | | | | | | | | No longer needed as getUsername() is now static. | |||||
| * | Remove unused marco | Shatur95 | 2020-10-15 | 1 | -2/+0 | |
| | | | | | | | | No longer needed since applicationPid() now is static. | |||||
| * | Fix Clang Tidy warnings | Shatur95 | 2020-10-15 | 3 | -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-cmake | Itay Grudev | 2020-10-18 | 1 | -8/+12 | |
|\ \ | | | | | | | Update CMake to support Qt 6 | |||||
| * | | Update CMake to support Qt 6 | Jonas Kvinge | 2020-10-18 | 1 | -8/+12 | |
| |/ | ||||||
* | | Merge pull request #117 from jonaski/qt6-checksum | Itay Grudev | 2020-10-18 | 1 | -5/+15 | |
|\ \ | |/ |/| | Fix use of qChecksum with Qt 6 | |||||
| * | Fix use of qChecksum with Qt 6 | Jonas Kvinge | 2020-10-18 | 1 | -5/+15 | |
|/ | ||||||
* | Merge pull request #113 from Shatur95/fix-conversion-warning | Itay Grudev | 2020-10-15 | 2 | -4/+4 | |
|\ | | | | | Fix conversion from int to quint32 | |||||
| * | Update install-qt-action | Shatur95 | 2020-10-15 | 1 | -1/+1 | |
| | | ||||||
| * | Fix implicit conversion | Shatur95 | 2020-10-15 | 1 | -2/+2 | |
| | | ||||||
| * | Fix conversion from int to quint32 | Shatur95 | 2020-10-10 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #112 from iakov/patch-1 | Itay Grudev | 2020-10-06 | 1 | -1/+3 | |
|\ | | | | | Fix build issue with MinGW GCC pedantic mode | |||||
| * | Fix build issue with MinGW GCC pedantic mode | iakov | 2020-10-06 | 1 | -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/connecttoprimary | Itay Grudev | 2020-10-06 | 1 | -3/+2 | |
|\ | | | | | Fix return value of connectToPrimary() when connect is successful | |||||
| * | Fix return value of connectToPrimary() when connect is successful | Jonas Kvinge | 2020-10-05 | 1 | -3/+2 | |
|/ | ||||||
* | Merge pull request #110 from Kolcha/qt59-msvc | Itay Grudev | 2020-10-04 | 1 | -0/+1 | |
|\ | | | | | fixed build with Qt 5.9 MSVC2017 | |||||
| * | fixed build with Qt 5.9 MSVC2017 | Nick Korotysh | 2020-10-02 | 1 | -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 CHANGELOG | Itay Grudev | 2020-09-09 | 1 | -2/+2 | |
| | ||||||
* | v3.1.5v3.1.5 | Itay Grudev | 2020-09-09 | 1 | -3/+9 | |
| | ||||||
* | Removed debugging information for the instanceStarted signal | Itay Grudev | 2020-09-09 | 1 | -1/+0 | |
| | ||||||
* | Mitigated QSharedMemory initialization failures | Itay Grudev | 2020-09-09 | 1 | -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 Grudev | 2020-09-09 | 3 | -36/+46 | |
| | | | | instanceStarted() not getting emitted |