Hennadii Chernyshchyk
00a571c21c
Remove pull_request
...
Triggers CI twice.
2021-10-03 11:27:51 +03:00
Hennadii Chernyshchyk
6cc4f481db
Ignore release drafts
2021-10-03 11:26:46 +03:00
Hennadii Chernyshchyk
7c6e91f3bc
Make CI labels more consistent
2021-10-03 11:18:23 +03:00
Hennadii Chernyshchyk
0c1d21a490
Format with prettier
2021-10-03 11:11:55 +03:00
Hennadii Chernyshchyk
eba263a8c6
Ignore changes in markdown
2021-10-03 11:11:36 +03:00
Itay Grudev
7bcdfe571e
Update README.md
2021-09-20 16:55:38 +03:00
Itay Grudev
a8590b4031
Update README.md
2021-09-20 16:53:48 +03:00
Itay Grudev
5fec2df7a3
Merge pull request #139 from mklein-de/appimage-executable-path
...
Added support for _AppImage_ dynamic executable paths. - _Michael Klein_
2021-09-20 16:48:18 +03:00
Itay Grudev
9856adebd4
Update singleapplication_p.cpp
2021-09-20 16:38:28 +03:00
Itay Grudev
bca0b770ee
Update singleapplication_p.cpp
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2021-09-20 16:37:01 +03:00
Itay Grudev
cc96fea921
Update singleapplication_p.cpp
2021-09-20 16:32:42 +03:00
Itay Grudev
a8aa298aa1
v3.3.1
2021-09-20 16:25:15 +03:00
Itay Grudev
6aa2d348e5
Style and explanation improvements
2021-09-20 16:22:02 +03:00
Michael Klein
a30128bef2
Compile fix
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2021-09-20 15:16:20 +02:00
Michael Klein
7d366c7e83
Use QByteArray instead of QString
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2021-09-20 14:56:31 +02:00
Michael Klein
f030b378f0
Use AppImage path for hash when running as AppImage.
...
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
2021-09-20 14:43:15 +02:00
Hennadii Chernyshchyk
d5b3852bd0
Merge pull request #134 from itay-grudev/v3.3.0-changelog
...
v3.3.0 Changelog
2021-08-04 16:34:51 +03:00
Itay Grudev
266e6de20b
Update CHANGELOG.md
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2021-06-02 20:27:50 +03:00
Itay Grudev
bdbb09b5f2
v3.3.0
2021-06-02 10:57:30 +03:00
Itay Grudev
c557da5d0c
Merge pull request #133 from njeisecke/master
...
Fix protocol to solve #121 and #125
2021-06-01 23:59:59 +03:00
Nils Jeisecke
25a7b60982
Ensure data sent via SingleApplication::sendMessage is received completely
...
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.
2021-06-01 04:10:53 +02:00
Nils Jeisecke
0c458ec8c9
Add simple acknowledge protocol to ensure the server has received all data
...
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.
2021-05-31 16:12:32 +02:00
Itay Grudev
fda9c4b178
Merge pull request #132 from itay-grudev/removed_incorrect_coment_in_basic_example
...
Removed incorrect comment in the basic example
2021-04-29 03:26:24 +03:00
Itay Grudev
7e494b5d5e
Removed incorreced comment in the basic example
...
Fixes #131
2021-04-28 12:06:37 +03:00
Shatur95
c2fd401540
Simplify randomSleep() for old Qt version
2021-04-12 14:17:53 +03:00
Itay Grudev
9f65e9c7fe
Merge pull request #129 from jonaski/signalslots
...
Fix signal-slot issues
2021-03-26 09:59:27 +02:00
Jonas Kvinge
4052d37110
Fix signal-slot issues
2021-03-26 00:16:25 +01:00
Shatur95
4aeac8fa3e
Mark getters as const
2021-01-25 01:36:36 +02:00
Itay Grudev
e99b8df38f
Merge pull request #125 from dail8859/fix-123
...
Remove ConnectionInfo after socket is destroyed
2020-12-25 08:56:18 +00:00
dail8859
5e7b302776
Update singleapplication_p.cpp
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2020-12-23 15:42:56 -05:00
dail8859
99cd51d5a2
Remove ConnectionInfo after socket is destroyed
...
This leaves the ConnectionInfo in a valid state, even after the socket is disconnected, which could still have a readyRead() signal emitted.
Closes #123
2020-12-22 21:03:10 -05:00
Itay Grudev
451a42d8f9
Merge pull request #124 from Shatur95/use-const-reference
...
Use const reference and bump GitHub actions
2020-12-21 19:23:04 +02:00
Shatur95
963d42ceb6
Set Ubuntu version explicitly
2020-12-21 19:13:33 +02:00
Shatur95
0aabf7705a
Bump GitHub actions
2020-12-21 19:09:21 +02:00
Shatur95
7bdb497a83
Pass usedData by const reference
2020-12-21 19:07:36 +02:00
Itay Grudev
dc8042b5db
Merge pull request #122 from LorenDB/master
...
Allow adding unique userdata to instances
2020-12-17 11:47:01 +02:00
Loren Burkholder
f236032cf9
Allow adding unique userdata to instances
2020-12-16 22:17:24 -05:00
Itay Grudev
aede311d28
Update CHANGELOG.md
2020-11-23 12:03:51 +00:00
Jonas Kvinge
3dd0c6dfbd
Merge pull request #120 from Shatur95/master
...
Add Qt6 CI builds
2020-10-27 20:26:05 +01:00
Shatur95
ab58a29cab
Enable checks for warnings
2020-10-24 14:31:53 +03:00
Shatur95
6c97f3e80d
Add Qt6 configuration
2020-10-24 14:20:37 +03:00
Itay Grudev
c6227ee2cd
Merge pull request #118 from Shatur95/improve-qt6-support
...
Use QT_DEFAULT_MAJOR_VERSION
2020-10-21 20:27:27 +01:00
Shatur95
dccc37e9d4
Use QT_DEFAULT_MAJOR_VERSION
2020-10-21 20:48:51 +03:00
Itay Grudev
7983644b83
Update README.md
2020-10-19 13:50:54 +01:00
Itay Grudev
2f44044c32
v3.2.0 Changelog
2020-10-18 10:42:09 +01:00
Itay Grudev
b835987b59
Update build-cmake.yml
...
Disabled Qt 6 build specs temporarily
2020-10-18 10:33:30 +01:00
Itay Grudev
cd18cd378f
Added Qt 6.0 to the build tests
2020-10-18 09:47:17 +01:00
Itay Grudev
a627bc24fa
Merge pull request #114 from Shatur95/fix-clang-tidy-warnings
...
Fix Clang Tidy warnings
2020-10-18 09:44:21 +01:00
Itay Grudev
ba6388d47c
Merge pull request #116 from jonaski/qt6-cmake
...
Update CMake to support Qt 6
2020-10-18 09:44:07 +01:00
Itay Grudev
ad9c7a6d32
Merge pull request #117 from jonaski/qt6-checksum
...
Fix use of qChecksum with Qt 6
2020-10-18 09:43:50 +01:00