]> skyeroc.xyz Git - dgamelaunch/log
dgamelaunch
18 years agoFor errors in config file, report the whole unrecognized token
Pasi Kallinen [Sun, 6 Jan 2008 19:35:14 +0000 (19:35 +0000)]
For errors in config file, report the whole unrecognized token
(and quit right after it) instead of error per char.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@405 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoMake sortmode keep it's value even if you back out of the watching window.
Pasi Kallinen [Sun, 6 Jan 2008 17:40:57 +0000 (17:40 +0000)]
Make sortmode keep it's value even if you back out of the watching window.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@404 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sun, 6 Jan 2008 12:35:41 +0000 (12:35 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@403 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix a bug where num_games was one too big.
Pasi Kallinen [Sun, 6 Jan 2008 10:13:29 +0000 (10:13 +0000)]
Fix a bug where num_games was one too big.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@402 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate Changelog
Pasi Kallinen [Wed, 2 Jan 2008 16:50:41 +0000 (16:50 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@401 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoconfigure now accepts parameter --num-games=INT which will
Pasi Kallinen [Tue, 1 Jan 2008 21:41:17 +0000 (21:41 +0000)]
configure now accepts parameter --num-games=INT which will
set the maximum number of games dgamelaunch supports.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@400 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoMinor comment/whitespace cleaning
Pasi Kallinen [Tue, 1 Jan 2008 20:57:50 +0000 (20:57 +0000)]
Minor comment/whitespace cleaning

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@399 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate the example config file, and allow comment-lines in it to have
Pasi Kallinen [Tue, 1 Jan 2008 20:43:13 +0000 (20:43 +0000)]
Update the example config file, and allow comment-lines in it to have
spaces or tabs before '#'

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@398 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoupdate TODO
Pasi Kallinen [Tue, 1 Jan 2008 20:20:02 +0000 (20:20 +0000)]
update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@397 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAllow defining several game_args with one definition:
Pasi Kallinen [Tue, 1 Jan 2008 19:56:15 +0000 (19:56 +0000)]
Allow defining several game_args with one definition:

game_args = "goo", "bar", ..

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@396 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoRemove the old mkdir and chdir options to prevent lex collisions
Pasi Kallinen [Tue, 1 Jan 2008 18:13:54 +0000 (18:13 +0000)]
Remove the old mkdir and chdir options to prevent lex collisions
with the commands mkdir and chdir

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@395 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDon't do other NetHack-specific stuff either in dgl itself...
Pasi Kallinen [Tue, 1 Jan 2008 17:59:53 +0000 (17:59 +0000)]
Don't do other NetHack-specific stuff either in dgl itself...

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@394 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDon't set NETHACKOPTIONS env var inside dgl, set it in config file.
Pasi Kallinen [Tue, 1 Jan 2008 17:54:05 +0000 (17:54 +0000)]
Don't set NETHACKOPTIONS env var inside dgl, set it in config file.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@393 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoRemove savefilefmt from config file; backing up the savefile
Pasi Kallinen [Tue, 1 Jan 2008 17:36:46 +0000 (17:36 +0000)]
Remove savefilefmt from config file; backing up the savefile
can now be done with per-game commands.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@392 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoTwo new things:
Pasi Kallinen [Tue, 1 Jan 2008 17:03:05 +0000 (17:03 +0000)]
Two new things:

1) Allow admin to define some commands that are run when something happens.
   format is

commands [ <time> ] = <command> ...

<time> can be one of:
 login     = when user logs in
 dglstart  = when someone telnets in
 register  = when a new user is registered
 gamestart = when a game is started

<command> is:
 mkdir "foo"       = creates a directory "foo"
 chdir "foo"       = changes current work dir to "foo"
 cp "foo" "bar"    = copies file "foo" to "bar"
 unlink "foo"      = deletes file "foo"
 setenv "foo "bar" = sets environment variable "foo" to "bar"

For example

commands[login] = mkdir "foo", unlink "bar", setenv "Z" "foo"

You can also define per-game commands that are executed when
the game is started.

2) Defining game info in the config file has changed slightly.
   Put "DEFINE { ... }" around the game-specific stuff.

See the example config file.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@391 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agobugfix: registration was allowed from the main menu even when allow_new_nicks = 0...
Pasi Kallinen [Tue, 1 Jan 2008 12:05:08 +0000 (12:05 +0000)]
bugfix: registration was allowed from the main menu even when allow_new_nicks = 0 in dgl rcfile.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@390 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoupdate TODO
Pasi Kallinen [Tue, 1 Jan 2008 11:45:14 +0000 (11:45 +0000)]
update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@389 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDefine both USE_SQLITE3 and USE_SQLITE_DB when --enable-sqlite and/or --sqlite-db...
Pasi Kallinen [Tue, 1 Jan 2008 11:28:51 +0000 (11:28 +0000)]
Define both USE_SQLITE3 and USE_SQLITE_DB when --enable-sqlite and/or --sqlite-db is given.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@388 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoNo need to check for buffer existence, gets rid of warnings
Pasi Kallinen [Sun, 30 Dec 2007 09:00:16 +0000 (09:00 +0000)]
No need to check for buffer existence, gets rid of warnings

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@387 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoconfigure sorts the config.h defines alphabetically,
Pasi Kallinen [Sun, 30 Dec 2007 08:44:02 +0000 (08:44 +0000)]
configure sorts the config.h defines alphabetically,
so change DGL_SQLITE_DB to USE_SQLITE_DB so it's next to USE_SQLITE3.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@386 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUnify the flat-text and sqlite handling
Pasi Kallinen [Sun, 30 Dec 2007 08:29:28 +0000 (08:29 +0000)]
Unify the flat-text and sqlite handling

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@385 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoChangelog typo, whoops
Pasi Kallinen [Sun, 30 Dec 2007 08:05:25 +0000 (08:05 +0000)]
Changelog typo, whoops

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@384 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sat, 29 Dec 2007 01:55:03 +0000 (01:55 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@383 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate the autotools stuff to allow sqlite handling.
Pasi Kallinen [Sat, 29 Dec 2007 01:01:07 +0000 (01:01 +0000)]
Update the autotools stuff to allow sqlite handling.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@382 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix convert script test for already existing db file
Pasi Kallinen [Fri, 28 Dec 2007 23:45:15 +0000 (23:45 +0000)]
Fix convert script test for already existing db file

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@381 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoImprove the conversion script
Pasi Kallinen [Fri, 28 Dec 2007 12:41:46 +0000 (12:41 +0000)]
Improve the conversion script

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@380 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Fri, 28 Dec 2007 12:02:58 +0000 (12:02 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@379 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate Changelog
Pasi Kallinen [Fri, 28 Dec 2007 11:53:19 +0000 (11:53 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@378 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix the sqlite3 addition: Newly registered nicks shouldn't interfere with already...
Pasi Kallinen [Fri, 28 Dec 2007 10:01:35 +0000 (10:01 +0000)]
Fix the sqlite3 addition: Newly registered nicks shouldn't interfere with already registered ones.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@377 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoRemove some fixme-comments which are done already.
Pasi Kallinen [Thu, 27 Dec 2007 23:48:25 +0000 (23:48 +0000)]
Remove some fixme-comments which are done already.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@376 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoWhen the sqlite db is locked, retry up to ten times, sleeping one second between...
Pasi Kallinen [Thu, 27 Dec 2007 23:44:09 +0000 (23:44 +0000)]
When the sqlite db is locked, retry up to ten times, sleeping one second between tries.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@375 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd a shell script to convert the old flat-text database to sqlite database.
Pasi Kallinen [Thu, 27 Dec 2007 19:54:05 +0000 (19:54 +0000)]
Add a shell script to convert the old flat-text database to sqlite database.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@374 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAllow SQLite for the user login database, instead of the flat text file.
Pasi Kallinen [Thu, 27 Dec 2007 19:52:48 +0000 (19:52 +0000)]
Allow SQLite for the user login database, instead of the flat text file.
Define USE_SQLITE3 in the config.h, and define DGL_SQLITE_DB as the
database file to be used.  Note that sqlite must have write access to
the directory where the db file is.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@373 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoSimplify the watching-screen sorting.
Pasi Kallinen [Tue, 25 Dec 2007 16:27:30 +0000 (16:27 +0000)]
Simplify the watching-screen sorting.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@372 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoChangelog update
Pasi Kallinen [Mon, 24 Dec 2007 23:17:24 +0000 (23:17 +0000)]
Changelog update

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@371 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoTODO update
Pasi Kallinen [Mon, 24 Dec 2007 18:11:26 +0000 (18:11 +0000)]
TODO update

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@370 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAllow sorting the watching-screen names by either name or idle-time. (Based slightly...
Pasi Kallinen [Mon, 24 Dec 2007 18:09:15 +0000 (18:09 +0000)]
Allow sorting the watching-screen names by either name or idle-time. (Based slightly on a patch by Dragonizer)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@369 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years ago1.4.7
Joshua Kwan [Sat, 22 Dec 2007 22:39:54 +0000 (22:39 +0000)]
1.4.7

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@368 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agorelease 1.4.7
Joshua Kwan [Sat, 22 Dec 2007 21:05:21 +0000 (21:05 +0000)]
release 1.4.7

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@364 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd some TODO stuff
Pasi Kallinen [Sat, 22 Dec 2007 21:04:03 +0000 (21:04 +0000)]
Add some TODO stuff

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@363 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agofix typo
Joshua Kwan [Thu, 5 Jul 2007 04:05:41 +0000 (04:05 +0000)]
fix typo

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@362 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoFix a bug; inprogress-dir is now configurable, so use that string length for str...
Pasi Kallinen [Mon, 11 Jun 2007 19:40:51 +0000 (19:40 +0000)]
Fix a bug; inprogress-dir is now configurable, so use that string length for str alloc instead of assuming it's 11 chars.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@361 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoConfig-file variable allow_new_nicks
Pasi Kallinen [Mon, 9 Apr 2007 16:42:14 +0000 (16:42 +0000)]
Config-file variable allow_new_nicks

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@360 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoUpdate TODO ideas
Pasi Kallinen [Mon, 9 Apr 2007 12:57:45 +0000 (12:57 +0000)]
Update TODO ideas

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@359 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoFix segfault when no mkdir or chdir defined
Pasi Kallinen [Fri, 6 Apr 2007 23:13:06 +0000 (23:13 +0000)]
Fix segfault when no mkdir or chdir defined

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@358 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoUpdate TODO
Pasi Kallinen [Mon, 2 Apr 2007 18:35:56 +0000 (18:35 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@357 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoUpdate example config file
Pasi Kallinen [Sun, 1 Apr 2007 16:06:50 +0000 (16:06 +0000)]
Update example config file

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@356 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoAdd new config file value 'mkdir', and allow variables in mkdir and chdir
Pasi Kallinen [Sun, 1 Apr 2007 12:09:42 +0000 (12:09 +0000)]
Add new config file value 'mkdir', and allow variables in mkdir and chdir

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@355 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoWatching menu shows what game the players are playing
Pasi Kallinen [Sun, 1 Apr 2007 10:11:38 +0000 (10:11 +0000)]
Watching menu shows what game the players are playing

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@354 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoExpand the example config file
Pasi Kallinen [Sat, 31 Mar 2007 21:31:52 +0000 (21:31 +0000)]
Expand the example config file

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@353 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agolockfile is global, not per-game variable
Pasi Kallinen [Sat, 31 Mar 2007 21:29:45 +0000 (21:29 +0000)]
lockfile is global, not per-game variable

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@352 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agopasswd file is global config, not per-game
Pasi Kallinen [Sat, 31 Mar 2007 21:18:32 +0000 (21:18 +0000)]
passwd file is global config, not per-game

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@351 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoAdd 'chdir' per-game config variable, which defines the dir where dgl will chdir...
Pasi Kallinen [Sat, 31 Mar 2007 21:05:12 +0000 (21:05 +0000)]
Add 'chdir' per-game config variable, which defines the dir where dgl will chdir to before executing the game.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@350 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoFix watching, thanks to Jilles!
Pasi Kallinen [Sat, 31 Mar 2007 16:21:58 +0000 (16:21 +0000)]
Fix watching, thanks to Jilles!

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@349 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoFix inprogress file name truncation
Pasi Kallinen [Sat, 31 Mar 2007 15:17:26 +0000 (15:17 +0000)]
Fix inprogress file name truncation

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@348 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoAllow setting max nick length in the dgl config file, while still retaining backwards...
Pasi Kallinen [Sat, 31 Mar 2007 11:10:07 +0000 (11:10 +0000)]
Allow setting max nick length in the dgl config file, while still retaining backwards compatibility with old-style, up to 20-char
long nicks.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@347 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoUpdate Changelog
Pasi Kallinen [Thu, 29 Mar 2007 20:25:35 +0000 (20:25 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@346 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

19 years agoAllow more than one game per dgl installation.
Pasi Kallinen [Thu, 29 Mar 2007 20:14:55 +0000 (20:14 +0000)]
Allow more than one game per dgl installation.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@345 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

20 years agofix all sorts of stuff with dgl-create-chroot
Joshua Kwan [Sun, 9 Jul 2006 07:04:09 +0000 (07:04 +0000)]
fix all sorts of stuff with dgl-create-chroot

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@344 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoUpdate svn info, use $(DESTDIR)
Joshua Kwan [Sun, 2 Jan 2005 10:31:59 +0000 (10:31 +0000)]
Update svn info, use $(DESTDIR)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@343 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoone more dummy commit
Joshua Kwan [Sun, 12 Sep 2004 09:05:06 +0000 (09:05 +0000)]
one more dummy commit

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@342 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agodummy commit to check bdb import
Joshua Kwan [Sun, 12 Sep 2004 09:01:59 +0000 (09:01 +0000)]
dummy commit to check bdb import

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@341 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agodummy commit to check bdb import
Joshua Kwan [Sun, 12 Sep 2004 09:01:59 +0000 (09:01 +0000)]
dummy commit to check bdb import

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@340 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agodummy commit to check bdb import
Joshua Kwan [Sun, 12 Sep 2004 09:01:59 +0000 (09:01 +0000)]
dummy commit to check bdb import

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@339 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agouse a copy of the environment variable instead of the actual spot on the heap
Joshua Kwan [Sun, 12 Sep 2004 08:58:32 +0000 (08:58 +0000)]
use a copy of the environment variable instead of the actual spot on the heap

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@338 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoUse select() if kevent() does not work, e.g. file on msdosfs.
Jilles Tjoelker [Sat, 28 Aug 2004 21:30:54 +0000 (21:30 +0000)]
Use select() if kevent() does not work, e.g. file on msdosfs.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@337 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoUse kqueue() if available (FreeBSD) to improve watching.
Jilles Tjoelker [Mon, 23 Aug 2004 14:00:29 +0000 (14:00 +0000)]
Use kqueue() if available (FreeBSD) to improve watching.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@336 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoDescribe recent commits.
Jilles Tjoelker [Mon, 23 Aug 2004 13:08:51 +0000 (13:08 +0000)]
Describe recent commits.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@335 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years ago* Make sure curses will redraw the watch list after 'm' has been used
Jilles Tjoelker [Mon, 23 Aug 2004 12:59:33 +0000 (12:59 +0000)]
* Make sure curses will redraw the watch list after 'm' has been used
* ^L and ^R will redraw the entire screen in the watch list

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@334 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoUse one select() call to both delay and detect keypresses.
Jilles Tjoelker [Mon, 23 Aug 2004 12:43:59 +0000 (12:43 +0000)]
Use one select() call to both delay and detect keypresses.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@333 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years ago* Clean up a bit
Jilles Tjoelker [Mon, 23 Aug 2004 12:30:24 +0000 (12:30 +0000)]
* Clean up a bit
* Close the ttyrec file when watching is done

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@332 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

21 years agoMaking watching more efficient:
Jilles Tjoelker [Sun, 22 Aug 2004 22:32:10 +0000 (22:32 +0000)]
Making watching more efficient:
* Don't uselessly read the ttyrec file at the start.
* Toggle the ttyrec file between buffered and non-buffered. Non-buffered I/O
  via stdio can be very inefficient.
* Keep stdout buffered, and flush it when waiting for a key or more ttyrec
  data.

Tested somewhat on my FreeBSD 4 machine.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@331 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoamend Changelog for 1.4.6
Joshua Kwan [Sat, 3 Jul 2004 23:35:16 +0000 (23:35 +0000)]
amend Changelog for 1.4.6

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@329 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agouse libgen.h
Joshua Kwan [Sat, 3 Jul 2004 23:34:13 +0000 (23:34 +0000)]
use libgen.h

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@328 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agosetproctitle for teh lunix
Joshua Kwan [Sat, 3 Jul 2004 19:19:28 +0000 (19:19 +0000)]
setproctitle for teh lunix

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@327 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agono more editors/*
Joshua Kwan [Wed, 30 Jun 2004 03:39:39 +0000 (03:39 +0000)]
no more editors/*

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@326 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoUse setproctitle(3), if available, to hide autologin password and show logged
Jilles Tjoelker [Mon, 28 Jun 2004 19:41:06 +0000 (19:41 +0000)]
Use setproctitle(3), if available, to hide autologin password and show logged
in user and whether they are playing.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@325 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoInclude config.h in ttyrec.c (tried to use STREAMS on FreeBSD)
Jilles Tjoelker [Mon, 28 Jun 2004 12:39:23 +0000 (12:39 +0000)]
Include config.h in ttyrec.c (tried to use STREAMS on FreeBSD)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@324 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agosane default for terminfo
Joshua Kwan [Wed, 23 Jun 2004 17:46:17 +0000 (17:46 +0000)]
sane default for terminfo

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@323 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoupdate
Joshua Kwan [Tue, 22 Jun 2004 16:37:33 +0000 (16:37 +0000)]
update

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@322 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agohide all extra arguments, because they're probably -p
Joshua Kwan [Tue, 22 Jun 2004 16:36:09 +0000 (16:36 +0000)]
hide all extra arguments, because they're probably -p

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@321 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agochange the logic a bit..
Joshua Kwan [Mon, 21 Jun 2004 01:20:56 +0000 (01:20 +0000)]
change the logic a bit..

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@320 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agouse $CC -xM for dependencies on solaris, if you are using cc
Joshua Kwan [Mon, 21 Jun 2004 00:59:51 +0000 (00:59 +0000)]
use $CC -xM for dependencies on solaris, if you are using cc

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@319 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agouse cp -L for terminfo
Joshua Kwan [Sun, 20 Jun 2004 08:32:06 +0000 (08:32 +0000)]
use cp -L for terminfo

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@318 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoadd svn-commit.tmp
Joshua Kwan [Fri, 18 Jun 2004 21:45:52 +0000 (21:45 +0000)]
add svn-commit.tmp

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@317 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoadd exec_prefix
Joshua Kwan [Fri, 18 Jun 2004 21:45:04 +0000 (21:45 +0000)]
add exec_prefix

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@316 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agowoohoo
Joshua Kwan [Fri, 18 Jun 2004 21:43:49 +0000 (21:43 +0000)]
woohoo

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@315 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoall workie
Joshua Kwan [Fri, 18 Jun 2004 21:41:52 +0000 (21:41 +0000)]
all workie

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@314 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoautogen
Joshua Kwan [Fri, 18 Jun 2004 21:40:18 +0000 (21:40 +0000)]
autogen

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@313 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoadd a autogen.sh, ignore it during make dist
Joshua Kwan [Fri, 18 Jun 2004 21:39:06 +0000 (21:39 +0000)]
add a autogen.sh, ignore it during make dist

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@312 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agostuff
Joshua Kwan [Fri, 18 Jun 2004 21:37:57 +0000 (21:37 +0000)]
stuff

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@311 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agotcc doesn't like
Joshua Kwan [Fri, 18 Jun 2004 21:37:06 +0000 (21:37 +0000)]
tcc doesn't like

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@310 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agofix everything!
Joshua Kwan [Fri, 18 Jun 2004 21:16:50 +0000 (21:16 +0000)]
fix everything!

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@309 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agobleh
Joshua Kwan [Fri, 18 Jun 2004 20:06:22 +0000 (20:06 +0000)]
bleh

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@308 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years ago* Add comment recommending autoconf 2.53
Jilles Tjoelker [Fri, 18 Jun 2004 18:51:53 +0000 (18:51 +0000)]
* Add comment recommending autoconf 2.53
* Prefer -lcurses to -lncurses and don't try to find initscr in -ltermcap
* Still not works properly on Solaris (but I needed a few patches earlier
  anyway)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@307 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agobum da bum
Joshua Kwan [Fri, 18 Jun 2004 18:18:13 +0000 (18:18 +0000)]
bum da bum

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@306 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoautoconfize
Joshua Kwan [Fri, 18 Jun 2004 18:17:02 +0000 (18:17 +0000)]
autoconfize

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@305 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agovarious fixes
Joshua Kwan [Fri, 18 Jun 2004 18:16:22 +0000 (18:16 +0000)]
various fixes

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@304 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agostuff
Joshua Kwan [Fri, 18 Jun 2004 18:04:36 +0000 (18:04 +0000)]
stuff

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@303 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agos/withval/configfile/
Joshua Kwan [Fri, 18 Jun 2004 17:58:35 +0000 (17:58 +0000)]
s/withval/configfile/

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@302 db0b04b0-f4d1-0310-9a6d-de3e77497b0e