diff options
author | Itay Grudev <itay@grudev.com> | 2016-11-26 17:42:04 +0000 |
---|---|---|
committer | Itay Grudev <itay@grudev.com> | 2016-11-26 17:52:51 +0000 |
commit | e75f16a39af824ca9ee11a01694bd67139a8597b (patch) | |
tree | 619d83df3cfe1a5dc3aa6800b7214da44ddce54f | |
parent | Allow data exclusion for the server name hash and Windows fixes (#16) (diff) | |
download | singleapplication-e75f16a39af824ca9ee11a01694bd67139a8597b.tar.xz |
Single Application v.3.0.1av3.0.1a
Signed-off-by: Itay Grudev <itay@grudev.com>
-rw-r--r-- | CHANGELOG.md | 35 | ||||
-rw-r--r-- | README.md | 11 |
2 files changed, 32 insertions, 14 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e2f2c49..915de22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,25 @@ Changelog ========= -__v3.0a__ +__3.0.1a__ -------- -* Depricated meximum secondary instances count setting. +* 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 + + _Le Liu_ + +__v3.0a__ +--------- + +* Depricated secondary instances count. * Added a sendMessage() method to send a message to the primary instance. -* Added a receivedMessage() signal, emmited when a message is received from a +* Added a receivedMessage() signal, emitted when a message is received from a secondary instance. * The SingleApplication constructor's third parameter is now a bool specifying if the current instance should be allowed to run as a secondary @@ -19,15 +32,15 @@ __v3.0a__ `QSharedMemory` block and the `QLocalServer`. Since at least `applicationFilePath` is always present there is no need to explicitly set any of these prior to initialising `SingleApplication`. - * QCoreApplication::applicationName - * QCoreApplication::applicationVersion - * QCoreApplication::applicationFilePath - * QCoreApplication::organizationName - * QCoreApplication::organizationDomain - * User name or home directory path if in User mode + * `QCoreApplication::applicationName` + * `QCoreApplication::applicationVersion` + * `QCoreApplication::applicationFilePath` + * `QCoreApplication::organizationName` + * `QCoreApplication::organizationDomain` + * User name or home directory path if in User mode * The primary instance is no longer notified when a secondary instance had - been started by default. An setting for this feature exists. -* Added instanceNumber() which represents a unique identifier for each + been started by default. A setting for this feature exists. +* Added `instanceNumber()` which represents a unique identifier for each secondary instance started. When called from the primary instance will return `0`. @@ -208,8 +208,12 @@ enum SingleApplication::Mode user specific data to the key used for the shared memory and server name. This is the default functionality. * `Mode::System` – The SingleApplication block applies system-wide. -* `SecondaryNotification` – Whether to trigger `instanceStarted()` even +* `Mode::SecondaryNotification` – Whether to trigger `instanceStarted()` even whenever secondary instances are started. +* `Mode::ExcludeAppPath` – Excludes the application path from the server name + (and memory block) hash. +* `Mode::ExcludeAppVersion` – Excludes the application version from the server + name (and memory block) hash. *__Note:__ `Mode::SecondaryNotification` only works if set on both the primary and the secondary instance.* @@ -223,12 +227,13 @@ be user wide.* Versioning ---------- -The current library versions is `3.0a`. +The current library versions is `3.0.1a`. Each major version introduces either very significant changes or is not backwards compatible with the previous version. Minor versions only add additional features, bug fixes or performance improvements and are backwards -compatible with the previous release. See `CHANGELOG.md` for more details. +compatible with the previous release. See [`CHANGELOG.md`](CHANGELOG.md) for +more details. Implementation -------------- |