Commit Graph

138 Commits

Author SHA1 Message Date
Itay Grudev
666fd4d8e8
Merge pull request #94 from itay-grudev/qwertysam
Added support for qdep
2020-02-20 15:43:43 +00:00
Samson Close
e538a2b595 Added qdep support 2020-02-20 15:38:41 +00:00
Itay Grudev
0f6695e2a9
Update FUNDING.yml 2020-02-09 12:13:56 +00:00
Itay Grudev
473dfae194
Added workflow badge to README.md 2020-01-25 01:36:04 +00:00
Itay Grudev
3d152b03d8
v3.0.19 2020-01-24 01:05:21 +00:00
Itay Grudev
333b41782d
Merge pull request #87 from Shatur95/fix_deprecated_warnings
Fix obsolete code warnings
2020-01-24 01:01:17 +00:00
Shatur95
724efd7fdd Fix obsolete code warnings 2020-01-05 18:27:24 +02:00
Itay Grudev
2369cf7b21 Added CMake output files to .gitignore 2020-01-05 15:21:03 +00:00
Itay Grudev
33a2617a3f
Merge pull request #88 from itay-grudev/build-tests
Added CI Build Tests
2020-01-03 18:21:43 +00:00
Itay Grudev
69873cba97
Update CHANGELOG.md 2020-01-03 17:49:52 +00:00
Itay Grudev
062dc014ce
GitHub Actions dropped Qt v4.8.7
This library never intended to support Qt v4.x.x anyway
2020-01-03 17:34:42 +00:00
Itay Grudev
a7a42d5ae4
GitHub Actions syntax improvments for Windows support 2020-01-03 17:31:23 +00:00
Itay Grudev
767645c80f
GitHub Actions: Fixed typo in the yml 2020-01-03 17:15:33 +00:00
Itay Grudev
6aec26e266
GitHub Actions Added windows-latest platform 2020-01-03 17:14:35 +00:00
Itay Grudev
bb24abdf1d
GitHub Actions - Applied same changes throughout the script 2020-01-03 17:13:35 +00:00
Itay Grudev
b25e62409b
GitHub Actions Alternative build command 2020-01-03 17:02:37 +00:00
Itay Grudev
e70a0e7e3d
GitHub Actions alternative cmake command 2020-01-03 11:07:03 +00:00
Itay Grudev
5222c01951
Renamed GitHub Action to Build CMake
As it now builds for multiple latforms
2020-01-03 11:01:08 +00:00
Itay Grudev
e7e31208af
GitHub Actions - Testing without Windows 2020-01-03 10:58:16 +00:00
Itay Grudev
0d07dd387a
GitHub Actions Multiple platforms support
ubuntu-latest, windows-latest, macos-latest
2020-01-03 10:43:13 +00:00
Itay Grudev
a14320382c
GitHub Actions Exact Qt version specificatoin 2020-01-03 10:38:52 +00:00
Itay Grudev
0296d0b61e
Github Action building with multiple Qt versions
Implemented using the matrix strategy and multiple qt versions
2020-01-03 10:35:41 +00:00
Itay Grudev
4e4f310a58
Github Actions: Building examples as well 2020-01-03 10:26:13 +00:00
Itay Grudev
275dcf3fc0
Added step to install Qt in GitHub Actions 2020-01-03 10:18:30 +00:00
Itay Grudev
af768f44a7
Create build-linux-cmake.yml 2020-01-03 10:11:40 +00:00
Itay Grudev
16ea64b254
Merge pull request #76 from itay-grudev/android_fallback
Android and iOS fallback
2019-10-13 10:39:37 +03:00
Itay Grudev
c5b4d4028d v3.0.18 2019-10-13 10:35:50 +03:00
Itay Grudev
117336df79 Fallback for iOS as well 2019-10-13 10:34:28 +03:00
Itay Grudev
5e223a7f74 Disables SingleApplication support on Android. Fixes #52 2019-10-11 16:50:52 +03:00
Itay Grudev
33975c1743
Update CHANGELOG.md 2019-10-11 16:35:03 +03:00
Hennadii Chernyshchyk
81465e1eec Add CMake support (#66)
* Add CMake support

* Remove unused 'tr()'

* Add option to specify a class for inheritance

* Use modern syntax

* Rework CMakeLists.txt
Thanks to @akallabeth

* Add CMake build rules for examples
2019-10-11 16:30:11 +03:00
iakov
196bb34af6 Fix compilation warning/error (#74)
Fix `comparison between signed and unsigned integer expressions` problem.
User ID is a positive integer  in Linux/UNIX(macOS, FreeBSD, Solaris), also `geteuid()` never fails with return code.
2019-10-10 14:47:25 +03:00
Itay Grudev
e18babe559
Update CHANGELOG.md 2019-09-22 20:41:33 +03:00
Jonas Kvinge
2c959069b7 Use geteuid and getpwuid to get username on Unix, fallback to environment variable (#72)
* Use geteuid and getpwuid to get username on Unix, fallback to environment variable

* Remove QProcess include
2019-09-22 20:39:45 +03:00
Itay Grudev
fec44d13d5
v3.0.15 2019-08-23 23:08:44 +03:00
Itay Grudev
acdc141d9d
v3.0.15 2019-08-23 23:08:07 +03:00
Itay Grudev
71e83871ae
Update CHANGELOG.md 2019-08-23 23:07:43 +03:00
Jonas Kvinge
1aad265585 Fix return value of sendMessage() (#68) 2019-08-23 23:02:50 +03:00
Jonas Kvinge
791f6b1cae Fix spelling and typos (#70) 2019-08-23 22:57:28 +03:00
Itay Grudev
c43bd4d388
Update FUNDING.yml 2019-05-30 04:56:40 +01:00
Itay Grudev
fefa2ced34
Create FUNDING.yml 2019-05-30 04:56:00 +01:00
Itay Grudev
7163d166a1
Fixed typo in Windows.md 2019-02-25 15:16:39 +00:00
Itay Grudev
adac9a30aa
v3.0.14 2019-01-22 12:23:51 +00:00
Patrizio Bekerle
b24d5394a5 fixed build process below Qt 5.6 (#57) 2018-12-14 20:41:55 +02:00
Patrizio Bekerle
2fac2a3804 fixed a typo (#55) 2018-11-30 16:08:31 +00:00
Itay Grudev
c6bc2a3e52
v3.0.13a 2018-10-04 14:29:21 +00:00
Francis Giraldeau
0db27016b0 Async socket processing (#49)
* Process socket events asynchronously

Avoid blocking the event loop using waitForReadyRead(). Instead, process the
initialization in two phases. It was necessary to add a map to keep track of
the state of the initial message processing

Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>

* Fix undefined variable on Windows

The timout variable does not exists in this scope, we can safely remove the
Q_UNUSED.

Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>

* Fix validation logic of initial message

I modified the logic to a positive value, but the modification was incomplete
and caused the initial message to be incorrectly considered as invalid.

Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>

* Use the proper socket when receiving message

The socket variable is a class member, but we really want to use
nextConnSocket when receiving the message in the lambda.

Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>
2018-09-10 22:35:38 +01:00
Itay Grudev
9357d19042
v3.0.12a Removed custom signal handling. 2018-07-27 12:59:31 +03:00
Itay Grudev
46b2204a3f
Proposed SA changes still containing a race condition (#48) 2018-07-27 04:29:55 +03:00
Francis Giraldeau
f975da90cc Fix sendmessage (#46)
* Fix send message example

If a secondary instance sends a message immediately after connecting, the
message follows the init message. This causes the slotConnectionEstablished to
read and consume the tail of the message and interpret it as the checksum. The
checksum fails and the connection becomes invalid.

To avoid this race, we prefix the init message with its length. This way, we
consume only the data relevant to the init message.

This patch fixes the sending_arguments example.

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>

* Fix include file case

Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>
2018-07-27 02:10:14 +03:00