Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bugfix - change QApplication to macro QAPPLICATION_CLASS (#34) | BG4444 | 2017-08-20 | 1 | -1/+1 |
| | | | | Bug fix - changed QApplication to macro QCoreApplication when invoking QApplication::instance() | ||||
* | Removed QMutex for thread safe behaviour and support for multiple ↵ | Itay Grudev | 2017-04-23 | 1 | -16/+1 |
| | | | | | SingleApplication instances Problem raised by @retmas in #24 | ||||
* | Fixed compilation error: cannot convert wchar_t* to LPSTR {aka char*} (#29) | Vitaly Tonkacheyev | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | Remove magic chars from code - use more readable code style (#28) | Evgeny | 2017-02-22 | 1 | -13/+17 |
| | |||||
* | Reverted GetUserName API usage on Windows (#25) | Itay Grudev | 2017-02-02 | 1 | -1/+14 |
| | | | | | | | | | | * Added back support for getting username on Windows * Fixed typo in singleapplication.pri * Compiler specific Advapi32.lib links * Removed username debug statement | ||||
* | Refactored SingleApplicationPrivate destructor. | Itay Grudev | 2017-01-30 | 1 | -17/+13 |
| | | | | | Deleted the separate cleanUp method as it’s not used from anywhere but the destructor. | ||||
* | Fix memory leak on SingleApplicationPrivate destruction (#23) | retmas | 2017-01-30 | 1 | -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. | ||||
* | Fixed shadow variable warning (#21) | pjwhams | 2017-01-24 | 1 | -23/+23 |
| | |||||
* | Removed Windows specific code for getting usernamev3.0.3a | Itay Grudev | 2017-01-24 | 1 | -16/+7 |
| | | | | On the absolute path to the home directory is now explicitly used. | ||||
* | Refactored slotConnectionEstablished() | Itay Grudev | 2017-01-24 | 1 | -16/+14 |
| | | | | | The code is now shorter and easier to understand. Fixed an uninitialised variable warning as reported in #20. | ||||
* | Fix crash when username contains Unicode characters on Windows (#17) | Le Liu | 2016-11-27 | 1 | -3/+1 |
| | | | | | * Fixed bug on Windows with username containing wide characters causing the library to crash. _Le Liu_ | ||||
* | Allow data exclusion for the server name hash and Windows fixes (#16) | Le Liu | 2016-11-26 | 1 | -2/+21 |
| | | | | | | | | | * 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 | ||||
* | fix Windows warning about unused parameter | Svintsov Dmitry | 2016-08-24 | 1 | -0/+1 |
| | |||||
* | Added missing "QMutex" dependencies | Svintsov Dmitry | 2016-08-22 | 1 | -1/+0 |
| | |||||
* | Fix bug (and compiler error) on Windows - wchar username support | Itay Grudev | 2016-08-18 | 1 | -4/+5 |
| | |||||
* | SingleApplication v3.0a | Itay Grudev | 2016-08-10 | 1 | -126/+278 |
| | |||||
* | Fixed signal formatting | Itay Grudev | 2016-07-10 | 1 | -14/+14 |
| | |||||
* | Updated license dates. Explicit license statement in the header and source files | Itay Grudev | 2016-07-04 | 1 | -0/+22 |
| | |||||
* | SIGBUSS should be signal 10. Fixed comment | Itay Grudev | 2016-05-14 | 1 | -1/+1 |
| | |||||
* | Code style improvementsv2.4 | Itay Grudev | 2016-05-04 | 1 | -6/+6 |
| | |||||
* | Bugfix no showUp notification. Some minor improvements | Itay Grudev | 2016-05-04 | 1 | -4/+10 |
| | |||||
* | Improved restoring QSharedMemory after crash | Itay Grudev | 2016-05-04 | 1 | -3/+8 |
| | |||||
* | Secondary instance implementation | Itay Grudev | 2016-05-04 | 1 | -54/+159 |
| | |||||
* | Bug fix possible situation in which memory is detached | Itay Grudev | 2016-05-04 | 1 | -8/+5 |
| | |||||
* | Now handling all relevant signals | Itay Grudev | 2016-05-04 | 1 | -6/+14 |
| | | | | | | New handled signals are: SIGHUP, SIGQUIT, SIGBUS, SIGSYS, SIGPIPE, SIGALRM, SIGXCPU, SIGXFSZ | ||||
* | Ensure backward compatibility and some cosmetic changes. | Vlad Pyatnichenko | 2016-04-05 | 1 | -1/+1 |
| | |||||
* | HOTFIX: use Q_Q instead of q_ptr directly. | Vlad Pyatnichenko | 2016-03-22 | 1 | -1/+3 |
| | |||||
* | HOTFIX: added Qt's modules prefixes to #include statements. | Vlad Pyatnichenko | 2016-03-06 | 1 | -4/+4 |
| | |||||
* | Adaptation to Qt's pimpl idiom design. Improved inheritance safety. | Vlad Pyatnichenko | 2016-03-05 | 1 | -26/+40 |
| | | | | | | | | | | | | | | | | | | | | | | Details: * Improved unsafe C-style macros inheritance approach to the project-wide DEFINES: it is unspecified in which order source files are being preprocessed ones, so in singleapplication.cpp the class might be inherent of default-specified base, while in main.cpp this can be a user-provided QAPPLICATION_CLASS definition. * Replace Qt's pseudo-keywords to more library-independent counterparts ('emit -> Q_EMIT', etc) * Indentation fixes (80 character column-width) * Rearragned #include statements: from most platform-independen to more app-specific. * Fixed some grammar typos. * README.md updated respectively. | ||||
* | QApplication inherit macro | Itay Grudev | 2015-06-09 | 1 | -2/+2 |
| | |||||
* | Fixed race condition #3! Library version 2.1; Explained implementation in README | Itay Grudev | 2015-06-06 | 1 | -14/+99 |
| | |||||
* | Client disconnect is not required | Itay Grudev | 2015-05-07 | 1 | -1/+0 |
| | |||||
* | Fixed memory leak | Itay Grudev | 2015-05-07 | 1 | -1/+3 |
| | | | As described in issue #2 each new socket is not deallocated and creates a memory leak | ||||
* | Bugfix: SingleApplication passing a copy of argc instead of referencev2.0 | Itay Grudev | 2015-04-07 | 1 | -1/+1 |
| | | | | | | | | QApplication uses a reference of argc so it could modify it's value when it substitutes known arguments for example. Thanks to @Chocobozzz for reporting the issue. https://github.com/itay-grudev/SingleApplication/issues/1 | ||||
* | Fixed new line issue | Itay Grudev | 2015-02-26 | 1 | -9/+4 |
| | |||||
* | Using Regex to remove invalid Filename Charecters | Itay Grudev | 2015-02-26 | 1 | -1/+1 |
| | |||||
* | Completly rewritten and simplified source | Itay Grudev | 2015-02-26 | 1 | -41/+32 |
| | |||||
* | Add base files | Itay Grudev | 2012-12-23 | 1 | -0/+61 |