]> skyeroc.xyz Git - dgamelaunch/log
dgamelaunch
22 years agomove junk around, genericize things
Joshua Kwan [Sat, 3 Apr 2004 19:27:42 +0000 (19:27 +0000)]
move junk around, genericize things

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

22 years agoChange clear() to erase() for less flicker when refreshing watch list.
Jilles Tjoelker [Sun, 21 Mar 2004 16:53:07 +0000 (16:53 +0000)]
Change clear() to erase() for less flicker when refreshing watch list.

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

22 years agoSome small updates for dgl-create-chroot.conf.example.* and ^W in mygetnstr().
Jilles Tjoelker [Sat, 20 Mar 2004 19:48:56 +0000 (19:48 +0000)]
Some small updates for dgl-create-chroot.conf.example.* and ^W in mygetnstr().

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

22 years agoImplement ^W for delete word.
Jilles Tjoelker [Sat, 20 Mar 2004 19:36:57 +0000 (19:36 +0000)]
Implement ^W for delete word.

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

22 years agoUpdate the date.
Jilles Tjoelker [Wed, 17 Mar 2004 14:05:44 +0000 (14:05 +0000)]
Update the date.

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

22 years agoAdd possibility to backup the savefile before starting nethack.
Jilles Tjoelker [Wed, 17 Mar 2004 14:04:31 +0000 (14:04 +0000)]
Add possibility to backup the savefile before starting nethack.

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

22 years agoYet another idea of mine
Jilles Tjoelker [Wed, 17 Mar 2004 13:53:44 +0000 (13:53 +0000)]
Yet another idea of mine

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

22 years agoWait only 1/10 instead of 1 second between processes.
Jilles Tjoelker [Wed, 17 Mar 2004 13:51:31 +0000 (13:51 +0000)]
Wait only 1/10 instead of 1 second between processes.
(yes I know sleep x.y is not portable but waiting so long is so annoying)

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

22 years agoShow more author information and websites
Jilles Tjoelker [Mon, 15 Mar 2004 14:23:11 +0000 (14:23 +0000)]
Show more author information and websites

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

22 years agonethack destroys the game if you send SIGHUP while it's at "Restoring
Jilles Tjoelker [Sun, 14 Mar 2004 23:33:15 +0000 (23:33 +0000)]
nethack destroys the game if you send SIGHUP while it's at "Restoring
save file...--More--"

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

22 years agoRemoved the XXX comment, works fine on Mac OS X 10.3.2
Brett Carrington [Sat, 13 Mar 2004 00:41:39 +0000 (00:41 +0000)]
Removed the XXX comment, works fine on Mac OS X 10.3.2

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

22 years agoReset offset if necessary
Jilles Tjoelker [Fri, 12 Mar 2004 16:40:57 +0000 (16:40 +0000)]
Reset offset if necessary

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

22 years agoReset offset to a lower value if not enough games exist anymore.
Jilles Tjoelker [Fri, 12 Mar 2004 16:24:18 +0000 (16:24 +0000)]
Reset offset to a lower value if not enough games exist anymore.
Avoids things like "(15-8 of 8)".

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

22 years agoProvide 3 example configs instead of 1.
Jilles Tjoelker [Wed, 10 Mar 2004 12:46:22 +0000 (12:46 +0000)]
Provide 3 example configs instead of 1.
Revert brettcar's changes to dgl-create-chroot and put them in the macosx
example.
The macosx example is probably incomplete.

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

22 years agoFix brettcar typo
Jilles Tjoelker [Wed, 10 Mar 2004 12:27:34 +0000 (12:27 +0000)]
Fix brettcar typo

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

22 years agoFreeBSD and Linux do require -lcrypt
Jilles Tjoelker [Wed, 10 Mar 2004 12:16:55 +0000 (12:16 +0000)]
FreeBSD and Linux do require -lcrypt
On Solaris 9 it is not necessary but does no harm.
I don't know whether I've detected MacOS X properly, but at least it compiles
on FreeBSD again now.

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

22 years agoPLEASE LOOK AT THE DGL-CREATE-CHROOT SCRIPT
Brett Carrington [Wed, 10 Mar 2004 00:18:30 +0000 (00:18 +0000)]
PLEASE LOOK AT THE DGL-CREATE-CHROOT SCRIPT
before you run it again. Same with the Makefile.
Most important change is in dgamelaunch.c

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

22 years agoRelease 1.4.4
Jilles Tjoelker [Sun, 7 Mar 2004 23:09:23 +0000 (23:09 +0000)]
Release 1.4.4

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

22 years agoStricter check on entered email addresses; the same check is now used for new
Jilles Tjoelker [Sat, 6 Mar 2004 20:34:27 +0000 (20:34 +0000)]
Stricter check on entered email addresses; the same check is now used for new
accounts as well as changes in existing accounts.

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

22 years agoSelecting a game to watch with an uppercase letter attempts to change the
Jilles Tjoelker [Thu, 4 Mar 2004 14:38:02 +0000 (14:38 +0000)]
Selecting a game to watch with an uppercase letter attempts to change the
window size to the game's via the \033[8;<r>;<c>t sequence. Block SIGWINCH
before sending this sequence and unblock it after calling initcurses() again.

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

22 years agoActually exit on SIGTERM, this appears to be more convenient for most tests.
Jilles Tjoelker [Thu, 4 Mar 2004 14:31:21 +0000 (14:31 +0000)]
Actually exit on SIGTERM, this appears to be more convenient for most tests.

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

22 years agoPass window size to watchers via inprogress file; show it on the list.
Jilles Tjoelker [Thu, 4 Mar 2004 13:58:03 +0000 (13:58 +0000)]
Pass window size to watchers via inprogress file; show it on the list.

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

22 years agoUse client-supplied window size again (Pasi Kallinen).
Jilles Tjoelker [Thu, 4 Mar 2004 13:30:12 +0000 (13:30 +0000)]
Use client-supplied window size again (Pasi Kallinen).
Try to detect broken clients and force them to 80x24.
This backs out the functional change in rev 247.
Passing through window size to watchers in a later commit.

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

22 years agoShow total number of games in progress below the list, useful if there are
Jilles Tjoelker [Mon, 1 Mar 2004 21:17:05 +0000 (21:17 +0000)]
Show total number of games in progress below the list, useful if there are
more than fits on the screen.

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

22 years agoInstall the manpage as well.
Jilles Tjoelker [Sat, 28 Feb 2004 15:18:20 +0000 (15:18 +0000)]
Install the manpage as well.
Now version 1.4.3.

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

22 years agoAn attempt at a man page.
Jilles Tjoelker [Wed, 25 Feb 2004 18:26:44 +0000 (18:26 +0000)]
An attempt at a man page.

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

22 years agoDon't fail if client-supplied window size seems incorrect.
Jilles Tjoelker [Tue, 24 Feb 2004 15:46:01 +0000 (15:46 +0000)]
Don't fail if client-supplied window size seems incorrect.
Add forgotten change for 1.4.2 in Changelog.

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

22 years agoNote existence of DEFCONFIG.
Joshua Kwan [Tue, 24 Feb 2004 09:58:44 +0000 (09:58 +0000)]
Note existence of DEFCONFIG.

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

22 years agopopulate_gfx_array(stripped) in ttyplay_main, not (NO_GRAPHICS).
Joshua Kwan [Mon, 23 Feb 2004 03:55:21 +0000 (03:55 +0000)]
populate_gfx_array(stripped) in ttyplay_main, not (NO_GRAPHICS).

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

22 years agodgamelaunch 1.4.2
Joshua Kwan [Sun, 22 Feb 2004 23:41:18 +0000 (23:41 +0000)]
dgamelaunch 1.4.2

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

22 years ago* Message length is at most 80, not 79 characters
Jilles Tjoelker [Sun, 22 Feb 2004 22:40:33 +0000 (22:40 +0000)]
* Message length is at most 80, not 79 characters
* Improve dgl-wall's handling of bad arguments

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

22 years agoMake -f switch work
Jilles Tjoelker [Sun, 22 Feb 2004 22:28:54 +0000 (22:28 +0000)]
Make -f switch work

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

22 years agoRemove superfluous nonportable #include <getopt.h>
Jilles Tjoelker [Sun, 22 Feb 2004 20:42:05 +0000 (20:42 +0000)]
Remove superfluous nonportable #include <getopt.h>

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

22 years agoAdd a prototype for ttyrec_getpty. [dummy commit to test svn]
Joshua Kwan [Sun, 22 Feb 2004 09:37:15 +0000 (09:37 +0000)]
Add a prototype for ttyrec_getpty. [dummy commit to test svn]

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

22 years agoKnock this one off the list
Joshua Kwan [Sun, 22 Feb 2004 09:01:28 +0000 (09:01 +0000)]
Knock this one off the list

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

22 years agoAdded dgl-wall to cvsignore, fixed build
Joshua Kwan [Sun, 22 Feb 2004 09:01:03 +0000 (09:01 +0000)]
Added dgl-wall to cvsignore, fixed build

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

22 years agoCommitting this, currently broken, shouldn't be within 5 minutes
Joshua Kwan [Sun, 22 Feb 2004 05:57:36 +0000 (05:57 +0000)]
Committing this, currently broken, shouldn't be within 5 minutes

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

22 years agoAbort if window size too small
Jilles Tjoelker [Fri, 20 Feb 2004 17:57:29 +0000 (17:57 +0000)]
Abort if window size too small
Force window size to 80x24 (if the watched game's window size is larger than
the watcher's, chaos results)

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

22 years agoMake sure to watch right game on the second and further pages
Jilles Tjoelker [Thu, 19 Feb 2004 21:10:23 +0000 (21:10 +0000)]
Make sure to watch right game on the second and further pages

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

22 years agodon't always call write_canned_rcfile()
Joshua Kwan [Tue, 17 Feb 2004 18:33:13 +0000 (18:33 +0000)]
don't always call write_canned_rcfile()

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

22 years agodgamelaunch 1.4.2 soon
Joshua Kwan [Tue, 17 Feb 2004 06:18:36 +0000 (06:18 +0000)]
dgamelaunch 1.4.2 soon

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

22 years agoDEFCONFIG holds path to config file, hardcoded, edit Makefile for this
Joshua Kwan [Tue, 17 Feb 2004 02:44:33 +0000 (02:44 +0000)]
DEFCONFIG holds path to config file, hardcoded, edit Makefile for this

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

22 years agoSome todo-items mentioned in #nethack.
Jilles Tjoelker [Tue, 17 Feb 2004 01:55:59 +0000 (01:55 +0000)]
Some todo-items mentioned in #nethack.

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

22 years agozero 'me' after allocating it
Joshua Kwan [Tue, 17 Feb 2004 01:00:22 +0000 (01:00 +0000)]
zero 'me' after allocating it

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

22 years agoSet me to NULL if new user doesn't enter a username.
Jilles Tjoelker [Tue, 17 Feb 2004 00:58:21 +0000 (00:58 +0000)]
Set me to NULL if new user doesn't enter a username.

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

22 years agoBlock signals during writefile().
Jilles Tjoelker [Tue, 17 Feb 2004 00:53:28 +0000 (00:53 +0000)]
Block signals during writefile().

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

22 years agoStress-test script for creation of new accounts
Jilles Tjoelker [Mon, 16 Feb 2004 17:47:41 +0000 (17:47 +0000)]
Stress-test script for creation of new accounts

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

22 years agoList PIDs of xterms for easier killing.
Jilles Tjoelker [Sun, 15 Feb 2004 23:20:51 +0000 (23:20 +0000)]
List PIDs of xterms for easier killing.

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

22 years agoUsers with name like "test10" picked up inprogress files for "test1" as their
Jilles Tjoelker [Sun, 15 Feb 2004 23:19:39 +0000 (23:19 +0000)]
Users with name like "test10" picked up inprogress files for "test1" as their
own.

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

22 years agoSimple stress-test script.
Jilles Tjoelker [Sun, 15 Feb 2004 23:10:33 +0000 (23:10 +0000)]
Simple stress-test script.

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

22 years agoMaybe this'll do it.
Joshua Kwan [Fri, 13 Feb 2004 23:15:03 +0000 (23:15 +0000)]
Maybe this'll do it.

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

22 years agocall fcntl(2) with F_SETLK not F_UNLCK
Joshua Kwan [Fri, 13 Feb 2004 23:01:17 +0000 (23:01 +0000)]
call fcntl(2) with F_SETLK not F_UNLCK

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

22 years agoRemove bogus and too early unlock
Jilles Tjoelker [Fri, 13 Feb 2004 22:59:28 +0000 (22:59 +0000)]
Remove bogus and too early unlock

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

22 years agoDue to severity of the bug fixed, this should be v1.4.1
Joshua Kwan [Fri, 13 Feb 2004 22:47:29 +0000 (22:47 +0000)]
Due to severity of the bug fixed, this should be v1.4.1

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

22 years agoJilles-pedantry
Joshua Kwan [Fri, 13 Feb 2004 22:36:17 +0000 (22:36 +0000)]
Jilles-pedantry

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

22 years agoCRITICAL: Do NOT call writefile() for a new user
Joshua Kwan [Fri, 13 Feb 2004 22:30:59 +0000 (22:30 +0000)]
CRITICAL: Do NOT call writefile() for a new user

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

22 years agoRemoved some worthless input cruft
Joshua Kwan [Tue, 10 Feb 2004 21:19:49 +0000 (21:19 +0000)]
Removed some worthless input cruft

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

22 years agoAny key refreshes, not just 'r'
Joshua Kwan [Sat, 7 Feb 2004 08:42:26 +0000 (08:42 +0000)]
Any key refreshes, not just 'r'

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

22 years agoSome administrivia... ->1.5pre
Joshua Kwan [Fri, 6 Feb 2004 21:09:37 +0000 (21:09 +0000)]
Some administrivia... ->1.5pre

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

22 years agowhile (true) -> for (;;)
Jilles Tjoelker [Thu, 5 Feb 2004 19:50:58 +0000 (19:50 +0000)]
while (true) -> for (;;)

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

22 years agoat Pasi's request add option to change email address.
Joshua Kwan [Thu, 5 Feb 2004 19:38:17 +0000 (19:38 +0000)]
at Pasi's request add option to change email address.

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

22 years agoattempt to remove the inprogress file on an unclean termination
Joshua Kwan [Tue, 3 Feb 2004 03:02:19 +0000 (03:02 +0000)]
attempt to remove the inprogress file on an unclean termination

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

22 years ago- remove third argument from ttyplay_main
Joshua Kwan [Tue, 3 Feb 2004 02:55:24 +0000 (02:55 +0000)]
- remove third argument from ttyplay_main
- kludge to not run strip_gfx when stripped == NO_GRAPHICS
- other random fixes

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

22 years agoMake ibmgraphics stripping work (decgraphics stripping still doesn't work
Jilles Tjoelker [Mon, 2 Feb 2004 23:42:41 +0000 (23:42 +0000)]
Make ibmgraphics stripping work (decgraphics stripping still doesn't work
for me)

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

22 years agoa few security fixes
Joshua Kwan [Mon, 2 Feb 2004 23:28:17 +0000 (23:28 +0000)]
a few security fixes

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

22 years agoSECURITY: accept only argument following -f for dgamelaunch.conf path
Joshua Kwan [Mon, 2 Feb 2004 22:57:54 +0000 (22:57 +0000)]
SECURITY: accept only argument following -f for dgamelaunch.conf path

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

22 years agoRemove C++ variable declaration after statement.
Jilles Tjoelker [Mon, 2 Feb 2004 20:51:37 +0000 (20:51 +0000)]
Remove C++ variable declaration after statement.

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

22 years agoallow dynamic switching of graphics stripping
Joshua Kwan [Mon, 2 Feb 2004 20:43:12 +0000 (20:43 +0000)]
allow dynamic switching of graphics stripping

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

22 years agoFix signed/unsigned char issues in ee.c to quell warnings with other compilers
Joshua Kwan [Mon, 2 Feb 2004 09:58:10 +0000 (09:58 +0000)]
Fix signed/unsigned char issues in ee.c to quell warnings with other compilers
as well as gcc -pedantic

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

22 years agobad thinko, remove [^-]
Joshua Kwan [Mon, 2 Feb 2004 01:31:48 +0000 (01:31 +0000)]
bad thinko, remove [^-]

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

22 years agoadd line number references to all errors
Joshua Kwan [Mon, 2 Feb 2004 01:07:21 +0000 (01:07 +0000)]
add line number references to all errors

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

22 years agohandle unterminated strings a bit better, and negative numbers
Joshua Kwan [Mon, 2 Feb 2004 01:03:57 +0000 (01:03 +0000)]
handle unterminated strings a bit better, and negative numbers

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

22 years agodoh, errno.h for ERANGE
Joshua Kwan [Mon, 2 Feb 2004 00:30:06 +0000 (00:30 +0000)]
doh, errno.h for ERANGE

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

22 years agoLet's use getopt..
Joshua Kwan [Sun, 1 Feb 2004 20:53:08 +0000 (20:53 +0000)]
Let's use getopt..

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

22 years agoSupport unhandled options.
Joshua Kwan [Sun, 1 Feb 2004 20:46:08 +0000 (20:46 +0000)]
Support unhandled options.

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

22 years agomake error message like the others
Joshua Kwan [Sun, 1 Feb 2004 20:45:55 +0000 (20:45 +0000)]
make error message like the others

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

22 years agoWarning-fix for -O2
Joshua Kwan [Sun, 1 Feb 2004 20:45:47 +0000 (20:45 +0000)]
Warning-fix for -O2

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

22 years agoerror handling for when yyerror happens and we bounce back into create_config
Joshua Kwan [Sun, 1 Feb 2004 09:25:22 +0000 (09:25 +0000)]
error handling for when yyerror happens and we bounce back into create_config
with a NULL myconfig

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

22 years agoKludge to detect 'maxusers = 0' and handle f_num > myconfig->max more smoothly
Joshua Kwan [Sun, 1 Feb 2004 08:20:28 +0000 (08:20 +0000)]
Kludge to detect 'maxusers = 0' and handle f_num > myconfig->max more smoothly

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

22 years agoError handling for negative numbers.
Joshua Kwan [Sun, 1 Feb 2004 08:10:18 +0000 (08:10 +0000)]
Error handling for negative numbers.

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

22 years agoPedantry, c/o paxed
Joshua Kwan [Sun, 1 Feb 2004 08:10:00 +0000 (08:10 +0000)]
Pedantry, c/o paxed

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

22 years agomake sure precedence doens't bite ARRAY_SIZE in the ass
Joshua Kwan [Sat, 31 Jan 2004 08:41:00 +0000 (08:41 +0000)]
make sure precedence doens't bite ARRAY_SIZE in the ass

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

22 years agoamended Changelog
Joshua Kwan [Sat, 31 Jan 2004 08:39:46 +0000 (08:39 +0000)]
amended Changelog

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

22 years agoUnneeded variables now that ccomment() is gone
Joshua Kwan [Sat, 31 Jan 2004 06:25:59 +0000 (06:25 +0000)]
Unneeded variables now that ccomment() is gone

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

22 years agoupdate documentation for -q flag
Joshua Kwan [Sat, 31 Jan 2004 06:25:30 +0000 (06:25 +0000)]
update documentation for -q flag

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

22 years agoConfig file blues.. add silent option on command line
Joshua Kwan [Sat, 31 Jan 2004 06:23:02 +0000 (06:23 +0000)]
Config file blues.. add silent option on command line

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

22 years agoC-comments are pretty superfluous, remove support for them
Joshua Kwan [Sat, 31 Jan 2004 06:22:38 +0000 (06:22 +0000)]
C-comments are pretty superfluous, remove support for them

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

22 years agoFix a little fallout, also notify mailer of failed login...
Joshua Kwan [Sat, 31 Jan 2004 03:10:03 +0000 (03:10 +0000)]
Fix a little fallout, also notify mailer of failed login...

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

22 years agoAllow user to login on the spot.
Joshua Kwan [Sat, 31 Jan 2004 03:04:58 +0000 (03:04 +0000)]
Allow user to login on the spot.

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

22 years agoReturn to game after mail sending - is done!
Joshua Kwan [Sat, 31 Jan 2004 02:57:02 +0000 (02:57 +0000)]
Return to game after mail sending - is done!

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

22 years agoReturn to watching after sending a simplemail message. This behaves like
Jilles Tjoelker [Fri, 30 Jan 2004 21:28:38 +0000 (21:28 +0000)]
Return to watching after sending a simplemail message. This behaves like
choosing the letter again in the watch menu, as the screen contents are lost
when typing in the message and must be restored.

Tested on my FreeBSD 4.8 machine and the Solaris 9 machine. On the latter,
some problems because dgamelaunch doesn't recognize nethackstub's clear
screen sequence. Continuing watching works on both.

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

22 years agoClearer error message if h->len is too big. The current value of errno has
Jilles Tjoelker [Fri, 30 Jan 2004 20:08:31 +0000 (20:08 +0000)]
Clearer error message if h->len is too big. The current value of errno has
no meaning here, so don't use perror().

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

22 years agoPull C99 initializers that don't work with Sun compiler :(
Joshua Kwan [Fri, 30 Jan 2004 17:32:12 +0000 (17:32 +0000)]
Pull C99 initializers that don't work with Sun compiler :(

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

22 years agoC99 initializers everywhere!
Joshua Kwan [Fri, 30 Jan 2004 16:47:40 +0000 (16:47 +0000)]
C99 initializers everywhere!

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

22 years agoTypo fix (rec -> play)
Joshua Kwan [Fri, 30 Jan 2004 02:57:48 +0000 (02:57 +0000)]
Typo fix (rec -> play)

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

22 years agoFix some minor fallout.
Joshua Kwan [Fri, 30 Jan 2004 02:52:23 +0000 (02:52 +0000)]
Fix some minor fallout.

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

22 years agoIgnore .svn now.
Joshua Kwan [Fri, 30 Jan 2004 02:50:25 +0000 (02:50 +0000)]
Ignore .svn now.

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

22 years agoRegenerate dependencies, function prototypes, remove useless includes, globals,
Joshua Kwan [Fri, 30 Jan 2004 02:49:29 +0000 (02:49 +0000)]
Regenerate dependencies, function prototypes, remove useless includes, globals,
and make code more readable. Move externs into a header file, just tidying up.

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

22 years agoHeader cleanup -- add #ifndef wrapping
Joshua Kwan [Fri, 30 Jan 2004 02:28:48 +0000 (02:28 +0000)]
Header cleanup -- add #ifndef wrapping

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

22 years agoNot solely for use on alt.org...
Joshua Kwan [Fri, 30 Jan 2004 02:10:14 +0000 (02:10 +0000)]
Not solely for use on alt.org...

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