Commit Graph

228 Commits

Author SHA1 Message Date
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
Jonas Kvinge
82f28549e6 Update CMake to support Qt 6 2020-10-18 01:02:09 +02:00
Jonas Kvinge
b5e6e2ba75 Fix use of qChecksum with Qt 6 2020-10-18 00:58:52 +02:00
Shatur95
f3de0114f4 Remove extra Q_D
No longer needed as getUsername() is now static.
2020-10-15 23:16:21 +03:00
Shatur95
199defc4dd Remove unused marco
No longer needed since applicationPid() now is static.
2020-10-15 23:06:50 +03:00
Shatur95
e17c715faf Fix Clang Tidy warnings
readability-convert-member-functions-to-static
readability-static-accessed-through-instance
readability-make-member-function-const
readability-inconsistent-declaration-parameter-name
2020-10-15 21:41:00 +03:00
Itay Grudev
5d837262f4
Merge pull request #113 from Shatur95/fix-conversion-warning
Fix conversion from int to quint32
2020-10-15 09:22:43 +01:00
Shatur95
3d30f4f776 Update install-qt-action 2020-10-15 01:56:14 +03:00
Shatur95
a8fb6b49f5 Fix implicit conversion 2020-10-15 01:29:25 +03:00
Shatur95
fae8a8a65f Fix conversion from int to quint32 2020-10-10 20:31:47 +03:00
Itay Grudev
0e42d86cec
Merge pull request #112 from iakov/patch-1
Fix build issue with MinGW GCC pedantic mode
2020-10-06 16:20:38 +01:00
iakov
800bb858a8
Fix build issue with MinGW GCC pedantic mode
Without guard this define from 3230430311 (diff-35c7c4188004bde084344a3aa8eeab6dR60) introduced compilation warning/error, and can break compilation
2020-10-06 13:56:20 +03:00
Itay Grudev
224f1d1734
Merge pull request #111 from jonaski/connecttoprimary
Fix return value of connectToPrimary() when connect is successful
2020-10-06 10:16:09 +01:00
Jonas Kvinge
a121f61ca1 Fix return value of connectToPrimary() when connect is successful 2020-10-05 22:13:03 +02:00
Itay Grudev
26ed3486f9
Merge pull request #110 from Kolcha/qt59-msvc
fixed build with Qt 5.9 MSVC2017
2020-10-04 02:01:38 +01:00
Nick Korotysh
3230430311
fixed build with Qt 5.9 MSVC2017
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.
2020-10-02 14:17:34 +03:00
Itay Grudev
9a408690ce Fixed typo in the CHANGELOG 2020-09-09 02:50:55 +01:00
Itay Grudev
0a7c90e0a6 v3.1.5 2020-09-09 02:34:16 +01:00
Itay Grudev
ca8e9aaa9e Removed debugging information for the instanceStarted signal 2020-09-09 02:30:43 +01:00
Itay Grudev
be013eff5c Mitigated QSharedMemory initialization failures
Mitigated QSharedMemory initialization failures  due to large amount of processes attempting to get hold of the shared memory block at the same time
2020-09-09 02:29:00 +01:00
Itay Grudev
3e83f5ce13 Improved the connectToPrimary() method and fixed issue with instanceStarted() not getting emitted 2020-09-09 02:28:07 +01:00
Itay Grudev
eca5803665 Moved the random sleep functionality to SingleApplicationPrivate 2020-09-09 02:23:42 +01:00
Itay Grudev
fb9c0bd2ef Removed extra qDebug statements 2020-09-09 00:48:55 +01:00
Itay Grudev
e4282f2476 Mitigated possible race condition during app startup 2020-09-09 00:28:02 +01:00
Itay Grudev
81052d9a61 Bug Fix: Fixed situation in which the memory block is left unlocked 2020-09-08 23:15:17 +01:00
Itay Grudev
a136c734c9 Updated code style and added inline documentation to public methods 2020-09-08 23:08:14 +01:00
Itay Grudev
e93c12ab69
Added examples 2020-07-02 05:31:38 +01:00
Itay Grudev
2637ea2afb
v3.1.4 2020-07-02 03:24:59 +01:00
Itay Grudev
b2e2c1a0ff
Merge pull request #109 from itay-grudev/qt-5.15-build-test
Build Test on Qt 5.15
2020-07-02 03:19:50 +01:00
Itay Grudev
5c9793a908
Update build-cmake.yml
Build Test on Qt 5.15
2020-07-02 03:16:01 +01:00