aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* 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
| |