[code] [textadept] Single-Instance Support

From: Mitchell <m.att.foicica.com>
Date: Tue, 10 Apr 2012 22:05:37 -0400 (EDT)

Hi,

I have committed single-instance support to hg for Linux and BSD. (Mac OSX
already had it through the OS itself, but it's been documented now.)
It uses GApplication from GLib 2.28 so you'll need at least that version
of GLib to use it. For reference, Ubuntu 11.04, Debian Wheezy, Fedora 15,
and openSUSE 11.4 support at least 2.28. Unfortunately, GApplication has
not been implemented for Win32 so there is still no single-instance
support for that OS.

By default ta is single-instance. All files are opened in the first
(primary) instance unless a '-f' or '--force' switch is given; in that
case a unique instance is opened, but that instance will never become the
primary instance.

Feedback is welcome.

Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 10 Apr 2012 - 22:05:37 EDT

This archive was generated by hypermail 2.2.0 : Wed 11 Apr 2012 - 06:26:52 EDT