Lockfile usage can be disabled via config. file now, too.
This commit is contained in:
parent
baa48f6057
commit
10fc8351a8
5 changed files with 57 additions and 40 deletions
4
Makefile
4
Makefile
|
|
@ -7,12 +7,12 @@
|
||||||
# bill@newbreedsoftware.com
|
# bill@newbreedsoftware.com
|
||||||
# http://www.tuxpaint.org/
|
# http://www.tuxpaint.org/
|
||||||
|
|
||||||
# June 14, 2002 - Octobr 20, 2007
|
# June 14, 2002 - Octobr 23, 2007
|
||||||
|
|
||||||
|
|
||||||
# The version number, for release:
|
# The version number, for release:
|
||||||
|
|
||||||
VER_VERSION=0.9.18rc1
|
VER_VERSION=0.9.18rc2
|
||||||
VER_DATE=`date +"%Y-%m-%d"`
|
VER_DATE=`date +"%Y-%m-%d"`
|
||||||
|
|
||||||
MAGIC_API_VERSION=0x00000001
|
MAGIC_API_VERSION=0x00000001
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ http://www.tuxpaint.org/
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
|
|
||||||
2007.October.14 (0.9.18)
|
2007.October.23 (0.9.18)
|
||||||
* Interface Improvements:
|
* Interface Improvements:
|
||||||
-----------------------
|
-----------------------
|
||||||
* Improved 'New' and 'Open' interface:
|
* Improved 'New' and 'Open' interface:
|
||||||
|
|
@ -104,6 +104,8 @@ $Id$
|
||||||
* Windows installation (Innosetup .iss file) more silent, to help it
|
* Windows installation (Innosetup .iss file) more silent, to help it
|
||||||
work with WPKG software deployment tool. [SourceForge Bug #1787000]
|
work with WPKG software deployment tool. [SourceForge Bug #1787000]
|
||||||
|
|
||||||
|
* Lockfile can be disabled via options file ("nolockfile=yes") now, too.
|
||||||
|
|
||||||
* New Brushes
|
* New Brushes
|
||||||
-----------
|
-----------
|
||||||
* Sparkles (based on old Magic Tool)
|
* Sparkles (based on old Magic Tool)
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
http://www.tuxpaint.org/
|
http://www.tuxpaint.org/
|
||||||
|
|
||||||
October 14, 2007
|
October 23, 2007
|
||||||
|
|
||||||
--------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
@ -212,6 +212,22 @@ Windows Users
|
||||||
halfnote, folio, quarto, ledger, archA, archB, archC, archD,
|
halfnote, folio, quarto, ledger, archA, archB, archC, archD,
|
||||||
archE, flsa, flse, csheet, dsheet, esheet.
|
archE, flsa, flse, csheet, dsheet, esheet.
|
||||||
|
|
||||||
|
nolockfile=yes
|
||||||
|
|
||||||
|
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, enable
|
||||||
|
this setting in the configuration file, or 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.
|
||||||
|
|
||||||
simpleshapes=yes
|
simpleshapes=yes
|
||||||
Disable the rotation step of the 'Shape' tool. Click, drag and
|
Disable the rotation step of the 'Shape' tool. Click, drag and
|
||||||
release is all that will be needed to draw a shape.
|
release is all that will be needed to draw a shape.
|
||||||
|
|
@ -639,6 +655,7 @@ Windows Users
|
||||||
--altprintnever
|
--altprintnever
|
||||||
--altprintalways
|
--altprintalways
|
||||||
--papersize=PAPERSIZE
|
--papersize=PAPERSIZE
|
||||||
|
--nolockfile
|
||||||
--simpleshapes
|
--simpleshapes
|
||||||
--uppercase
|
--uppercase
|
||||||
--grab
|
--grab
|
||||||
|
|
@ -676,6 +693,7 @@ Windows Users
|
||||||
--printdelay=0
|
--printdelay=0
|
||||||
--noprintcfg
|
--noprintcfg
|
||||||
--altprintmod
|
--altprintmod
|
||||||
|
--lockfile
|
||||||
--complexshapes
|
--complexshapes
|
||||||
--mixedcase
|
--mixedcase
|
||||||
--dontgrab
|
--dontgrab
|
||||||
|
|
@ -718,22 +736,6 @@ Windows Users
|
||||||
Only your own configuration file, "~/.tuxpaintrc", if it
|
Only your own configuration file, "~/.tuxpaintrc", if it
|
||||||
exists, will be used.
|
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
|
Command-Line Informational Options
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ New Breed Software</p>
|
||||||
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a></p>
|
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a></p>
|
||||||
|
|
||||||
|
|
||||||
<p>October 14, 2007</p>
|
<p>October 23, 2007</p>
|
||||||
|
|
||||||
|
|
||||||
</center>
|
</center>
|
||||||
|
|
@ -276,6 +276,25 @@ New Breed Software</p>
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt><code><b>nolockfile=yes</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, enable this setting in the configuration file, or
|
||||||
|
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>
|
||||||
|
|
||||||
<dt><code><b>simpleshapes=yes</b></code></dt>
|
<dt><code><b>simpleshapes=yes</b></code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
Disable the rotation step of the 'Shape' tool.
|
Disable the rotation step of the 'Shape' tool.
|
||||||
|
|
@ -983,6 +1002,7 @@ New Breed Software</p>
|
||||||
--altprintnever<br>
|
--altprintnever<br>
|
||||||
--altprintalways<br>
|
--altprintalways<br>
|
||||||
--papersize=<i>PAPERSIZE</i><br>
|
--papersize=<i>PAPERSIZE</i><br>
|
||||||
|
--nolockfile<br>
|
||||||
--simpleshapes<br>
|
--simpleshapes<br>
|
||||||
--uppercase<br>
|
--uppercase<br>
|
||||||
--grab<br>
|
--grab<br>
|
||||||
|
|
@ -1023,6 +1043,7 @@ New Breed Software</p>
|
||||||
--printdelay=0<br>
|
--printdelay=0<br>
|
||||||
--noprintcfg<br>
|
--noprintcfg<br>
|
||||||
--altprintmod<br>
|
--altprintmod<br>
|
||||||
|
--lockfile<br>
|
||||||
--complexshapes<br>
|
--complexshapes<br>
|
||||||
--mixedcase<br>
|
--mixedcase<br>
|
||||||
--dontgrab<br>
|
--dontgrab<br>
|
||||||
|
|
@ -1071,24 +1092,6 @@ New Breed Software</p>
|
||||||
<p>Only your own configuration file, "<code>~/.tuxpaintrc</code>",
|
<p>Only your own configuration file, "<code>~/.tuxpaintrc</code>",
|
||||||
if it exists, will be used.</p>
|
if it exists, will be used.</p>
|
||||||
</dd>
|
</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>
|
</dl>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
June 14, 2002 - September 25, 2007
|
June 14, 2002 - October 23, 2007
|
||||||
$Id$
|
$Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -6655,6 +6655,11 @@ static void setup(int argc, char *argv[])
|
||||||
debug("Not using lockfile");
|
debug("Not using lockfile");
|
||||||
ok_to_use_lockfile = 0;
|
ok_to_use_lockfile = 0;
|
||||||
}
|
}
|
||||||
|
else if (strcmp(argv[i], "--lockfile") == 0)
|
||||||
|
{
|
||||||
|
debug("Using lockfile");
|
||||||
|
ok_to_use_lockfile = 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
show_usage(stderr, (char *) getfilename(argv[0]));
|
show_usage(stderr, (char *) getfilename(argv[0]));
|
||||||
|
|
@ -15761,6 +15766,11 @@ static void parse_options(FILE * fi)
|
||||||
printf("datadir set to: %s\n", datadir);
|
printf("datadir set to: %s\n", datadir);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
else if (strcmp(str, "nolockfile=yes") == 0 ||
|
||||||
|
strcmp(str, "lockfile=no") == 0)
|
||||||
|
{
|
||||||
|
ok_to_use_lockfile = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (!feof(fi));
|
while (!feof(fi));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue