aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Removed QMutex for thread safe behaviour and support for multiple ↵Itay Grudev2017-04-232-19/+1
| | | | | SingleApplication instances Problem raised by @retmas in #24
* Fixed compilation error: cannot convert wchar_t* to LPSTR {aka char*} (#29)Vitaly Tonkacheyev2017-02-231-1/+1
|
* Remove magic chars from code - use more readable code style (#28)Evgeny2017-02-221-13/+17
|
* Removed version number from README.mdItay Grudev2017-02-021-2/+0
|
* v3.0.6av3.0.6aItay Grudev2017-02-021-0/+7
|
* Bug Fix Calculator example not raising it's window on WindowsItay Grudev2017-02-021-6/+4
|
* Reverted GetUserName API usage on Windows (#25)Itay Grudev2017-02-022-1/+19
| | | | | | | | | | * Added back support for getting username on Windows * Fixed typo in singleapplication.pri * Compiler specific Advapi32.lib links * Removed username debug statement
* Fixed typo in README.mdItay Grudev2017-02-011-1/+1
|
* v3.0.5av3.0.5aItay Grudev2017-01-311-0/+7
|
* Refactored SingleApplicationPrivate destructor.Itay Grudev2017-01-302-18/+13
| | | | | Deleted the separate cleanUp method as it’s not used from anywhere but the destructor.
* Fix memory leak on SingleApplicationPrivate destruction (#23)retmas2017-01-301-0/+1
| | | The issue is non critical as if the library is used properly this destructor is not called until the end of the program anyway.
* v3.0.4av3.0.4aItay Grudev2017-01-251-0/+7
|
* Fixed shadow variable warning (#21)pjwhams2017-01-241-23/+23
|
* Fixed typo in CHANGELOG.mdItay Grudev2017-01-241-1/+1
|
* Removed Windows specific code for getting usernamev3.0.3aItay Grudev2017-01-242-16/+18
| | | | On the absolute path to the home directory is now explicitly used.
* Refactored slotConnectionEstablished()Itay Grudev2017-01-241-16/+14
| | | | | The code is now shorter and easier to understand. Fixed an uninitialised variable warning as reported in #20.
* Fixed typos in CHANGELOG.mdItay Grudev2016-12-021-4/+4
|
* Update CHANGELOG.mdItay Grudev2016-11-281-1/+1
|
* SingleApplication v3.0.2av3.0.2aItay Grudev2016-11-272-2/+10
|
* Fix crash when username contains Unicode characters on Windows (#17)Le Liu2016-11-271-3/+1
| | | | | * Fixed bug on Windows with username containing wide characters causing the library to crash. _Le Liu_
* Single Application v.3.0.1av3.0.1aItay Grudev2016-11-262-14/+32
| | | | Signed-off-by: Itay Grudev <itay@grudev.com>
* Allow data exclusion for the server name hash and Windows fixes (#16)Le Liu2016-11-262-3/+24
| | | | | | | | | * Allows the application path and version to be excluded from the server name hash. The following flags were added for this purpose: * `SingleApplication::Mode::ExcludeAppVersion` * `SingleApplication::Mode::ExcludeAppPath` * Allow a non elevated process to connect to a local server created by an elevated process run by the same user on Windows * Fixes a problem with upper case letters in paths on Windows
* Fixed typo in README.mdItay Grudev2016-11-041-4/+4
|
* Merge pull request #14 from uralbash/masterItay Grudev2016-08-241-0/+1
|\ | | | | | | Fix Windows warning about unused timeout argument. Thanks to @uralbash
| * fix Windows warning about unused parameterSvintsov Dmitry2016-08-241-0/+1
|/
* Merge pull request #13 from uralbash/masterItay Grudev2016-08-222-1/+1
|\ | | | | | | Added missing "QMutex" dependencies. Thanks to @uralbash.
| * Added missing "QMutex" dependenciesSvintsov Dmitry2016-08-222-1/+1
|/
* Fix bug (and compiler error) on Windows - wchar username supportItay Grudev2016-08-181-4/+5
|
* Improved documentation styling. Added HRs between API members.Itay Grudev2016-08-151-0/+14
|
* Improved `instanceStarted()` note in `README.md`.Itay Grudev2016-08-151-2/+4
|
* Disambiguation in `CHANGELOG.md`Itay Grudev2016-08-151-1/+1
|
* Fixed typo in `CHANGELOG.md`Itay Grudev2016-08-151-1/+1
|
* Improved documentation for v3.0av3.0aItay Grudev2016-08-101-11/+104
|
* Added an example of an application raising the primary instance windowItay Grudev2016-08-108-1/+754
| | | | | | This example uses the Qt Calculator example released under the BSD license. Noted the license difference in the `README.md` and `LICENSE` files.
* Added an example of an application sending it's arguments to the primary ↵Itay Grudev2016-08-104-0/+61
| | | | instance
* Added a basic usage exampleItay Grudev2016-08-102-0/+14
|
* SingleApplication v3.0aItay Grudev2016-08-106-177/+512
|
* Fixed signal formattingItay Grudev2016-07-101-14/+14
|
* Added CHANGELOG and version descriptionItay Grudev2016-07-042-0/+50
|
* Updated license dates. Explicit license statement in the header and source filesItay Grudev2016-07-043-1/+45
|
* Distributed a .pri file with the libraryItay Grudev2016-05-272-15/+8
|
* SIGBUSS should be signal 10. Fixed commentItay Grudev2016-05-141-1/+1
|
* README: Better highlighing of exit code formula.Itay Grudev2016-05-111-4/+4
|
* Docmented changes and example usage with a .pri fileItay Grudev2016-05-091-11/+46
|