aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update build.ymlqt-5.6Itay Grudev2021-12-261-1/+1
|
* Prolonged support for Qt 5.6.2Itay Grudev2021-12-261-1/+1
|
* Merge pull request #144 from itay-grudev/changelog_update_3.3.2Itay Grudev2021-11-241-0/+4
|\ | | | | Update CHANGELOG.md
| * Update CHANGELOG.mdv3.3.2Itay Grudev2021-11-241-0/+4
|/
* Merge pull request #143 from deepbluev7/fix-crash-on-ackItay Grudev2021-11-241-1/+3
|\ | | | | Fix crash when sending ack on removed connection
| * Fix crash when sending ack on removed connectionNicolas Werner2021-11-241-1/+3
|/ | | | | | | | | | The emit might interrupt our function and causes us to return to the event loop. In that time frame the other and might close the connection, causing our connection to be removed. In that case we call writeAck on a dangling pointer, in the best case causing a crash. So lets finish our business before emitting our signal. fixes #138
* Merge pull request #140 from itay-grudev/itay-grudev-patch-1Itay Grudev2021-10-041-1/+2
|\ | | | | Update README to clarify sendMessage return value
| * Update README.mdItay Grudev2021-09-201-1/+1
| |
| * Update README.mdItay Grudev2021-09-201-1/+2
| |
* | Merge pull request #141 from itay-grudev/refactor-ciItay Grudev2021-10-042-56/+87
|\ \ | |/ |/| Refactor CI
| * Update install-qt actionHennadii Chernyshchyk2021-10-031-1/+1
| |
| * Specify platform-dependend makeHennadii Chernyshchyk2021-10-031-5/+7
| |
| * Use multiply coresHennadii Chernyshchyk2021-10-031-0/+4
| | | | | | | | https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
| * Rename build-cmake.yml to build.ymlHennadii Chernyshchyk2021-10-031-0/+0
| |
| * Add QMake to CIHennadii Chernyshchyk2021-10-031-4/+25
| |
| * Remove pull_requestHennadii Chernyshchyk2021-10-031-3/+0
| | | | | | | | Triggers CI twice.
| * Ignore release draftsHennadii Chernyshchyk2021-10-031-0/+2
| |
| * Make CI labels more consistentHennadii Chernyshchyk2021-10-031-6/+6
| |
| * Format with prettierHennadii Chernyshchyk2021-10-031-31/+30
| |
| * Ignore changes in markdownHennadii Chernyshchyk2021-10-031-1/+7
|/
* Merge pull request #139 from mklein-de/appimage-executable-pathv3.3.1Itay Grudev2021-09-202-1/+15
|\ | | | | Added support for _AppImage_ dynamic executable paths. - _Michael Klein_
| * Update singleapplication_p.cppItay Grudev2021-09-201-1/+1
| |
| * Update singleapplication_p.cppItay Grudev2021-09-201-1/+1
| | | | | | Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
| * Update singleapplication_p.cppItay Grudev2021-09-201-2/+4
| |
| * v3.3.1Itay Grudev2021-09-201-0/+5
| |
| * Style and explanation improvementsItay Grudev2021-09-201-4/+4
| |
| * Compile fixMichael Klein2021-09-201-1/+1
| | | | | | Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
| * Use QByteArray instead of QStringMichael Klein2021-09-201-1/+1
| | | | | | Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
| * Use AppImage path for hash when running as AppImage.Michael Klein2021-09-201-1/+8
|/ | | | | | | | | | | | When an application is launched as AppImage, each instance is launched from its own FUSE-mounted filesystem, so each instance has its own executable path. The AppImage runtime sets the environment variable APPIMAGE to the absolute path to the .AppImage file, so we can use the content of this variable instead of QApplication::applicationFilePath() when set. Closes #77, #137
* Merge pull request #134 from itay-grudev/v3.3.0-changelogHennadii Chernyshchyk2021-08-041-0/+6
|\ | | | | v3.3.0 Changelog
| * Update CHANGELOG.mdItay Grudev2021-06-021-1/+1
| | | | | | Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
| * v3.3.0v3.3.0Itay Grudev2021-06-021-0/+6
|/
* Merge pull request #133 from njeisecke/masterItay Grudev2021-06-013-33/+78
|\ | | | | Fix protocol to solve #121 and #125
| * 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
|/