Added lockfile feature, to prevent multiple launches within 30 seconds
(due to over-clicking, for example).
This commit is contained in:
parent
6752deb266
commit
00c5d44b96
5 changed files with 144 additions and 11 deletions
|
|
@ -7,7 +7,15 @@ bill@newbreedsoftware.com
|
|||
http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
|
||||
2004.September.04 (0.9.14) [cvs]
|
||||
2004.September.13 (0.9.14) [cvs]
|
||||
* Added lockfile support, to prevent Tux Paint from being launched more
|
||||
than once every 30 seconds. (Disable with "--nolockfile" command-line
|
||||
argument.) Thanks to Darci Lindgren for suggestion the feature, and
|
||||
Mark K. Kim for suggesting it be time-based.
|
||||
|
||||
(Lockfile is "lockfile.dat" in "~/.tuxpaint/" on Linux/Unix, and
|
||||
"userdata\" on Windows.)
|
||||
|
||||
* Updated Catalan translation.
|
||||
Pere Pujal Carabantes <ppujal@airtel.net>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
[2]bill@newbreedsoftware.com
|
||||
[3]http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
June 14, 2002 - June 20, 2004
|
||||
June 14, 2002 - September 13, 2004
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -384,6 +384,8 @@ Options
|
|||
|----------------------+--------------------+-----------|
|
||||
|british-english |british | |
|
||||
|----------------------+--------------------+-----------|
|
||||
|bulgarian | | |
|
||||
|----------------------+--------------------+-----------|
|
||||
|catalan |catala | |
|
||||
|----------------------+--------------------+-----------|
|
||||
|chinese |simplified-chinese | |
|
||||
|
|
@ -553,6 +555,23 @@ Options
|
|||
Only your own configuration file, "~/.tuxpaintrc", if it
|
||||
exists, will be used.
|
||||
|
||||
--nolockfile
|
||||
|
||||
By default, Tux Paint uses what's known as a 'lockfile' to
|
||||
prevent it from being launched more than once in
|
||||
30 seconds. (This is to avoid accidentally running
|
||||
multiple copies; for example, by double-clicking a
|
||||
single-click launcher, or simply impatiently clicking the
|
||||
icon multiple times.)
|
||||
|
||||
To make Tux Paint ignore the lockfile, allowing it to run
|
||||
again, even if it was just launched less than 30 seconds
|
||||
ago, run Tux Paint with the '--nolockfile' option on the
|
||||
command-line.
|
||||
|
||||
By default, the lockfile is stored in "~/.tuxpaint/" under
|
||||
Linux and Unix, and "userdata\" under Windows.
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
Command-Line Informational Options
|
||||
|
|
@ -606,6 +625,8 @@ Options
|
|||
|---------------+-------------------+---------------------|
|
||||
|be_BY |Bielaruskaja |Belarusian |
|
||||
|---------------+-------------------+---------------------|
|
||||
|bg_BG | |Bulgarian |
|
||||
|---------------+-------------------+---------------------|
|
||||
|br_FR |Brezhoneg |Breton |
|
||||
|---------------+-------------------+---------------------|
|
||||
|ca_ES |Catal`a |Catalan |
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ New Breed Software</p>
|
|||
<p><a href="mailto:bill@newbreedsoftware.com">bill@newbreedsoftware.com</a><br>
|
||||
<a href="http://www.newbreedsoftware.com/tuxpaint/">http://www.newbreedsoftware.com/tuxpaint/</a></p>
|
||||
|
||||
<p>June 14, 2002 - August 19, 2004</p>
|
||||
<p>June 14, 2002 - September 13, 2004</p>
|
||||
</center>
|
||||
|
||||
<hr size=2 noshade>
|
||||
|
|
@ -820,6 +820,24 @@ New Breed Software</p>
|
|||
<p>Only your own configuration file, "<code>~/.tuxpaintrc</code>",
|
||||
if it exists, will be used.</p>
|
||||
</dd>
|
||||
|
||||
<dt><code><b>--nolockfile</b></code></dt>
|
||||
<dd>
|
||||
<p>By default, Tux Paint uses what's known as a 'lockfile'
|
||||
to prevent it from being launched more than once in 30 seconds.
|
||||
(This is to avoid accidentally running multiple copies; for example,
|
||||
by double-clicking a single-click launcher, or simply
|
||||
impatiently clicking the icon multiple times.)</p>
|
||||
|
||||
<p>To make Tux Paint ignore the lockfile, allowing it to
|
||||
run again, even if it was just launched less than 30 seconds
|
||||
ago, run Tux Paint with the '<code>--nolockfile</code>' option
|
||||
on the command-line.</p>
|
||||
|
||||
<p>By default, the lockfile is stored in
|
||||
"<code>~/.tuxpaint/</code>" under Linux and Unix,
|
||||
and "<code>userdata\</code>" under Windows.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue