Skip to content

Releases: itay-grudev/SingleApplication

v3.0.6a

02 Feb 04:37
Compare
Choose a tag to compare
v3.0.6a Pre-release
Pre-release
  • Reverted GetUserName API usage on Windows. Fixed bug with missing library.
  • Fixed bug in the Calculator example, preventing it's window to be raised
    on Windows.

v3.0.5a

31 Jan 17:39
Compare
Choose a tag to compare
v3.0.5a Pre-release
Pre-release
  • Fixed a memory leak in the SingleApplicationPrivate destructor.

Sergei Moiseev

v3.0.4a

25 Jan 14:57
Compare
Choose a tag to compare
v3.0.4a Pre-release
Pre-release
  • Fixed shadow and uninitialised variable warnings.

Paul Walmsley

v3.0.3a

24 Jan 17:27
Compare
Choose a tag to compare
v3.0.3a Pre-release
Pre-release
  • Removed Microsoft Windows specific code for getting username due to
    multiple problems and compiler differences on Windows platforms. On
    Windows the shared memory block in User mode now includes the user's
    home path (which contains the user's username).
  • Explicitly getting absolute path of the user's home directory as on Unix
    a relative path (~) may be returned.

v3.0.2a

27 Nov 11:11
Compare
Choose a tag to compare
v3.0.2a Pre-release
Pre-release
  • Fixed bug on Windows when username containing wide characters causes the
    library to crash.

Le Liu

v3.0.1a

26 Nov 17:56
Compare
Choose a tag to compare
v3.0.1a Pre-release
Pre-release
  • 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

10 Aug 02:46
Compare
Choose a tag to compare
v3.0a Pre-release
Pre-release
  • Depricated secondary instances count.
  • Added a sendMessage() method to send a message to the primary instance.
  • 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
    instance if there is already a primary instance.
  • The SingleApplication constructor accept a fourth parameter specifying if
    the SingleApplication block should be User-wide or System-wide.
  • SingleApplication no longer relies on applicationName and
    organizationName to be set. It instead concatenates all of the following
    data and computes a SHA256 hash which is used as the key of the
    QSharedMemory block and the QLocalServer. Since at least
    applicationFilePath is always present there is no need to explicitly set
    any of the following prior to initialising SingleApplication.
  • 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. A Mode flag 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.

v2.4

04 May 20:06
Compare
Choose a tag to compare
  • Stability improvements
  • Support for secondary instances.
  • The library now recovers safely after the primary process has crashed
    and the shared memory had not been deleted.

v2.3

07 Apr 17:21
Compare
Choose a tag to compare
  • Improved pimpl design and inheritance safety.

Vladislav Pyatnichenko

v2.2

04 Nov 17:48
Compare
Choose a tag to compare
  • The QAPPLICATION_CLASS macro can now be defined in the file including the
    Single Application header or with a DEFINES+= statement in the project file.