aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #88 from itay-grudev/build-testsItay Grudev2020-01-032-0/+49
|\ | | | | Added CI Build Tests
| * Update CHANGELOG.mdItay Grudev2020-01-031-0/+4
| |
| * GitHub Actions dropped Qt v4.8.7Itay Grudev2020-01-031-1/+1
| | | | | | This library never intended to support Qt v4.x.x anyway
| * GitHub Actions syntax improvments for Windows supportItay Grudev2020-01-031-4/+10
| |
| * GitHub Actions: Fixed typo in the ymlItay Grudev2020-01-031-1/+1
| |
| * GitHub Actions Added windows-latest platformItay Grudev2020-01-031-2/+2
| |
| * GitHub Actions - Applied same changes throughout the scriptItay Grudev2020-01-031-3/+3
| |
| * GitHub Actions Alternative build commandItay Grudev2020-01-031-6/+6
| |
| * GitHub Actions alternative cmake commandItay Grudev2020-01-031-4/+4
| |
| * Renamed GitHub Action to Build CMakeItay Grudev2020-01-031-0/+0
| | | | | | As it now builds for multiple latforms
| * GitHub Actions - Testing without WindowsItay Grudev2020-01-031-1/+1
| |
| * GitHub Actions Multiple platforms supportItay Grudev2020-01-031-1/+2
| | | | | | ubuntu-latest, windows-latest, macos-latest
| * GitHub Actions Exact Qt version specificatoinItay Grudev2020-01-031-1/+1
| |
| * Github Action building with multiple Qt versionsItay Grudev2020-01-031-16/+8
| | | | | | Implemented using the matrix strategy and multiple qt versions
| * Github Actions: Building examples as wellItay Grudev2020-01-031-4/+28
| |
| * Added step to install Qt in GitHub ActionsItay Grudev2020-01-031-2/+7
| |
| * Create build-linux-cmake.ymlItay Grudev2020-01-031-0/+17
|/
* Merge pull request #76 from itay-grudev/android_fallback3.0.18Itay Grudev2019-10-132-0/+13
|\ | | | | Android and iOS fallback
| * v3.0.18Itay Grudev2019-10-131-0/+6
| |
| * Fallback for iOS as wellItay Grudev2019-10-131-4/+4
| |
| * Disables SingleApplication support on Android. Fixes #52Itay Grudev2019-10-111-0/+7
|/
* Update CHANGELOG.md3.0.17Itay Grudev2019-10-111-0/+11
|
* Add CMake support (#66)Hennadii Chernyshchyk2019-10-117-35/+145
| | | | | | | | | | | | | | | * 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
* Fix compilation warning/error (#74)iakov2019-10-101-5/+3
| | | | 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.
* Update CHANGELOG.md3.0.16Itay Grudev2019-09-221-0/+8
|
* Use geteuid and getpwuid to get username on Unix, fallback to environment ↵Jonas Kvinge2019-09-221-15/+18
| | | | | | | | variable (#72) * Use geteuid and getpwuid to get username on Unix, fallback to environment variable * Remove QProcess include
* v3.0.153.0.15Itay Grudev2019-08-231-0/+1
|
* v3.0.15Itay Grudev2019-08-231-0/+2
|
* Update CHANGELOG.mdItay Grudev2019-08-231-0/+3
|
* Fix return value of sendMessage() (#68)Jonas Kvinge2019-08-231-2/+2
|
* Fix spelling and typos (#70)Jonas Kvinge2019-08-232-3/+3
|
* Update FUNDING.ymlItay Grudev2019-05-301-7/+0
|
* Create FUNDING.ymlItay Grudev2019-05-301-0/+8
|
* Fixed typo in Windows.mdItay Grudev2019-02-251-1/+1
|
* v3.0.143.0.14Itay Grudev2019-01-223-0/+15
|
* fixed build process below Qt 5.6 (#57)Patrizio Bekerle2018-12-141-0/+13
|
* fixed a typo (#55)3.0.13Patrizio Bekerle2018-11-301-1/+1
|
* v3.0.13aItay Grudev2018-10-041-0/+8
|
* Async socket processing (#49)3.0.13aFrancis Giraldeau2018-09-102-68/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* v3.0.12a Removed custom signal handling.3.0.12aItay Grudev2018-07-274-77/+12
|
* Proposed SA changes still containing a race condition (#48)3.0.11aItay Grudev2018-07-276-377/+475
|
* Fix sendmessage (#46)Francis Giraldeau2018-07-274-28/+45
| | | | | | | | | | | | | | | | | | | | * 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>
* replace -lAdvapi32 with -ladvapi32 which broke the build on mxe (#43)Karl G2018-07-271-1/+1
| | | This should not break any windows builds as the windows filesystem is case-insensitive.
* v3.0.10 Code cleanupv3.0.10Itay Grudev2017-12-031-0/+12
|
* removed c style casts and eliminated all clang warnings, ... (#38)Jedidiah Buck McCready2017-12-032-51/+51
| | | | | | * removed c style casts and eliminated all clang warnings, fixed instanceId reading from only one byte in deserialization of message, cleaned up serialization code using QDataStream, changed connection type to use quint8 enum rather than char * renamed SingleAppConnectionType to ConnectionType, added initialization values to all ConnectionType enum cases
* Primary PID support (#36)v3.0.9Itay Grudev2017-10-027-6/+111
| | | | | | | | | | | * Added the ability to bring the primary application window to the foreground on Windows systems by adding an option flag. THis option can only be used in Windows development and in applications derived from QApplication with a QMainWindow object. Because the primary application needs to be instructed to go to the foreground, the option SecondaryNotification must also be set to use this functionality * Changed the ability to bring the primary application window to the front as discussed in itay-grudev/SingleApplication#31. Now the process ID of the primary application get stored and is accessible for other instances of the application. It is to the developer to bring the applications windows to the front. For convenience the accompanying readme now contains a paragraph with example of how to do this on Windows systems. * v3.0.9 Added SingleApplicationPrivate::primaryPid()
* Fixed typo in the CHANGELOG.mdItay Grudev2017-08-201-0/+2
|
* v3.0.8v3.0.8Itay Grudev2017-08-201-0/+5
| | | | Signed-off-by: Itay Grudev <itay@grudev.com>
* bugfix - change QApplication to macro QAPPLICATION_CLASS (#34)BG44442017-08-201-1/+1
| | | | Bug fix - changed QApplication to macro QCoreApplication when invoking QApplication::instance()
* v3.0.7av3.0.7aItay Grudev2017-04-231-0/+10
|