Commit Graph

203 Commits

Author SHA1 Message Date
Itay Grudev
5d867d77a5
Fix bug (and compiler error) on Windows - wchar username support 2016-08-18 18:28:57 +01:00
Itay Grudev
5f0c8a3316
Improved documentation styling. Added HRs between API members. 2016-08-15 23:08:05 +01:00
Itay Grudev
9185336561
Improved instanceStarted() note in README.md. 2016-08-15 23:03:12 +01:00
Itay Grudev
919f966689
Disambiguation in CHANGELOG.md 2016-08-15 22:56:43 +01:00
Itay Grudev
02db489e0f
Fixed typo in CHANGELOG.md 2016-08-15 22:51:21 +01:00
Itay Grudev
b1d0a6e96b
Improved documentation for v3.0a 2016-08-10 03:43:55 +01:00
Itay Grudev
699a1cb978
Added an example of an application raising the primary instance window
This example uses the Qt Calculator example released under the BSD
license. Noted the license difference in the `README.md` and `LICENSE`
files.
2016-08-10 03:43:15 +01:00
Itay Grudev
596cf23bae
Added an example of an application sending it's arguments to the primary instance 2016-08-10 03:43:06 +01:00
Itay Grudev
6f585973dc
Added a basic usage example 2016-08-10 03:42:46 +01:00
Itay Grudev
4e5c1647cc
SingleApplication v3.0a 2016-08-10 03:41:03 +01:00
Itay Grudev
b459c9247b Fixed signal formatting 2016-07-10 01:11:55 +01:00
Itay Grudev
760bf81d25 Added CHANGELOG and version description 2016-07-04 23:17:23 +01:00
Itay Grudev
1db662d0e6 Updated license dates. Explicit license statement in the header and source files 2016-07-04 18:19:48 +01:00
Itay Grudev
e29b660add Distributed a .pri file with the library 2016-05-27 02:36:12 +01:00
Itay Grudev
fe84b5663e SIGBUSS should be signal 10. Fixed comment 2016-05-14 20:38:15 +01:00
Itay Grudev
8caea926aa README: Better highlighing of exit code formula. 2016-05-11 18:53:27 +01:00
Itay Grudev
4c3fbae92f Docmented changes and example usage with a .pri file 2016-05-09 17:08:31 +01:00
Itay Grudev
6b78aefd28 QAPPLICATION_CLASS now defaults to QCoreApplication 2016-05-09 17:05:38 +01:00
Itay Grudev
5e67bf9751 Code style improvements 2016-05-04 21:05:59 +01:00
Itay Grudev
fd8004c706 Merge pull request #6 from itay-grudev/secondary
Added stability improvements and support for secondary instances.
2016-05-04 20:52:25 +01:00
Itay Grudev
6fe4403941 Bugfix no showUp notification. Some minor improvements 2016-05-04 20:51:06 +01:00
Itay Grudev
8bccf446e1 Improved restoring QSharedMemory after crash 2016-05-04 20:41:23 +01:00
Itay Grudev
8c9327036e Updated documentation 2016-05-04 20:40:03 +01:00
Itay Grudev
84d86455e7 Secondary instance implementation 2016-05-04 19:59:07 +01:00
Itay Grudev
fc5ce4c335 Bug fix possible situation in which memory is detached 2016-05-04 17:36:32 +01:00
Itay Grudev
c5ea3f6d30 Now handling all relevant signals
New handled signals are:

SIGHUP, SIGQUIT, SIGBUS, SIGSYS, SIGPIPE, SIGALRM, SIGXCPU, SIGXFSZ
2016-05-04 14:36:51 +01:00
Itay Grudev
34b17f3c8f Merge pull request #5 from i7achi/modern_cpp
Adaptation to Qt's pimpl idiom design. Improved inheritance safety.
2016-04-05 18:48:11 +01:00
Vlad Pyatnichenko
8eb993a7f8 Ensure backward compatibility and some cosmetic changes. 2016-04-05 20:31:05 +03:00
Vlad Pyatnichenko
7a3858a214 HOTFIX: use Q_Q instead of q_ptr directly. 2016-03-22 01:32:20 +02:00
Vlad Pyatnichenko
27df0ec8d0 HOTFIX: added Qt's modules prefixes to #include statements. 2016-03-06 01:09:04 +02:00
Vlad Pyatnichenko
35ee984d72 Adaptation to Qt's pimpl idiom design. Improved inheritance safety.
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.
2016-03-05 01:05:45 +02:00
Itay Grudev
47b12bd9d9 Docs now imply Linux as well 2016-01-04 12:52:02 +00:00
Itay Grudev
5b24e3d4c3 Updated documentation 2015-11-04 16:30:30 +00:00
Itay Grudev
bf00721b9c Improved QAPPLICATION_CLASS macro
Now it can be defined in the cpp file that include it (usually
main.cpp).
2015-11-04 16:30:14 +00:00
Itay Grudev
e97a1e6b10 Updated implementation description 2015-06-09 17:37:39 +03:00
Itay Grudev
219383657a QApplication inherit macro 2015-06-09 17:29:20 +03:00
Itay Grudev
2dd9a4e553 Fixed race condition #3! Library version 2.1; Explained implementation in README 2015-06-06 00:32:50 +03:00
Itay Grudev
8a62700bb0 Added known bug remark
This bug is related to issue #3. I expect to push a solution soon
2015-05-07 16:53:41 +01:00
Itay Grudev
bae14d8d45 Client disconnect is not required 2015-05-07 15:53:48 +01:00
Itay Grudev
41eb2c3499 Fixed memory leak
As described in issue #2 each new socket is not deallocated and creates a memory leak
2015-05-07 15:29:06 +01:00
Itay Grudev
d33b4c1c61 Bugfix: SingleApplication passing a copy of argc instead of reference
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
2015-04-07 22:17:57 +01:00
Itay Grudev
f170f1c73a Update README.md 2015-02-26 19:37:43 +00:00
Itay Grudev
a0f7dbc7d7 Added quick description 2015-02-26 19:37:30 +00:00
Itay Grudev
c65fcd3b60 Update README.md 2015-02-26 19:29:46 +00:00
Itay Grudev
322cda9bec Source Example C++ Highlighting 2015-02-26 19:24:54 +00:00
Itay Grudev
ff14d2b59d Fixed new line issue 2015-02-26 19:19:38 +00:00
Itay Grudev
5e5d92e058 Added documentation 2015-02-26 19:15:26 +00:00
Itay Grudev
31b57ab07a License 2015-02-26 19:11:05 +00:00
Itay Grudev
e16742fe4e Using Regex to remove invalid Filename Charecters 2015-02-26 19:09:45 +00:00
Itay Grudev
aa95fdb742 Deleted unnecesarry files 2015-02-26 19:01:31 +00:00