Tangles [Wed, 22 Jan 2020 13:48:04 +0000 (00:48 +1100)]
userprefs - small bugfix in banner parsing
Tangles [Wed, 22 Jan 2020 13:35:53 +0000 (00:35 +1100)]
userprefs - actually allow setpref() to be called from the config
Tangles [Wed, 22 Jan 2020 13:15:43 +0000 (00:15 +1100)]
userprefs - allow variable expansion in banner files
Tangles [Wed, 22 Jan 2020 12:06:51 +0000 (23:06 +1100)]
userprefs - getpref, setptref, variable expansion in TYPE_VALUE fields in config
Tangles [Tue, 21 Jan 2020 04:25:50 +0000 (15:25 +1100)]
userprefs - read and write prefs
k21971 [Sun, 11 Nov 2018 00:13:31 +0000 (11:13 +1100)]
Proper password salting/hash checking
Also edits to the 'change password' screen to reflect update
Thanks Kerio (see git commits
499ba7c and
b2f2e0a)
Tangles [Wed, 3 Jan 2018 04:00:56 +0000 (15:00 +1100)]
Merge branch 'watchmode'
Tangles [Wed, 3 Jan 2018 03:58:49 +0000 (14:58 +1100)]
Alignment of 'N/A' terminal size for enhanced watchmode games.
Tangles [Wed, 3 Jan 2018 02:52:26 +0000 (13:52 +1100)]
add install-to-chroot for hardfought.org
Tangles [Wed, 3 Jan 2018 01:28:44 +0000 (12:28 +1100)]
Enhanced watchmode
Allow an external program to be specified to watch particular games
to make use of NH4's wachmode. Add game config options watch_path,
watch_args and watchcommands to support this. Also add %w/%W for
format tokens the watched player, and %l/%L for the logged-in user
because %n/%N fall back to the watched player if nobody is logged
in, which is not always what we want. Watch menu now displays N/A
for the terminal size of games which use this, because NH4 watch
mode does not care about player's terminal dimensions. Other external
watching tools may need this in the future, but for now there is
nothing that requires this.
altorg [Sat, 19 Aug 2017 18:18:51 +0000 (11:18 -0700)]
added flex requirement
altorg [Sat, 19 Aug 2017 18:16:18 +0000 (11:16 -0700)]
added libncursesw5
altorg [Sat, 19 Aug 2017 18:13:56 +0000 (11:13 -0700)]
removed yacc install
altorg [Sat, 19 Aug 2017 18:12:44 +0000 (11:12 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:10:44 +0000 (11:10 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:08:51 +0000 (11:08 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:06:10 +0000 (11:06 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:04:06 +0000 (11:04 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:02:20 +0000 (11:02 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:01:28 +0000 (11:01 -0700)]
Create buildspec.yml
altorg [Mon, 6 Feb 2017 01:52:10 +0000 (17:52 -0800)]
Merge pull request #1 from Elronnd/master
(hopefully) put -lpthread in LIBS instead of CFLAGS
Elronnd [Mon, 6 Feb 2017 01:48:11 +0000 (18:48 -0700)]
(hopefully) put -lpthread in LIBS instead of CFLAGS
root [Sat, 2 Jan 2016 20:02:36 +0000 (20:02 +0000)]
Merge branch 'master' of git://github.com/paxed/dgamelaunch
Pasi Kallinen [Sat, 2 Jan 2016 20:02:15 +0000 (22:02 +0200)]
Fix some warnings
root [Sat, 2 Jan 2016 19:54:25 +0000 (19:54 +0000)]
Merge branch 'master' of git://github.com/paxed/dgamelaunch
Pasi Kallinen [Sat, 2 Jan 2016 17:53:30 +0000 (19:53 +0200)]
Fix SQLite query where underscore was an unintended wildcard
Pasi Kallinen [Wed, 9 Dec 2015 18:46:18 +0000 (20:46 +0200)]
Merge pull request #8 from henrikolsson/master
Prevent crash in passwordgood when supplied password is one character long
Pasi Kallinen [Wed, 9 Dec 2015 18:45:36 +0000 (20:45 +0200)]
Merge pull request #2 from swills/patch-1
Update Makefile.in
root [Mon, 7 Dec 2015 17:42:47 +0000 (17:42 +0000)]
Merge branch 'master' of git://github.com/paxed/dgamelaunch
Pasi Kallinen [Mon, 7 Dec 2015 16:40:04 +0000 (18:40 +0200)]
Stop processing arguments at -c
Original patch by Neil Moore <neil@s-z.org>
Pasi Kallinen [Mon, 7 Dec 2015 16:31:51 +0000 (18:31 +0200)]
Fix a buffer overflow in ee
Original patch by Neil Moore <neil@s-z.org>
Dobrazupa.org staff [Mon, 20 May 2013 18:44:41 +0000 (14:44 -0400)]
ee: don't crash when editing zero-byte files.
Pasi Kallinen [Mon, 7 Dec 2015 16:11:58 +0000 (18:11 +0200)]
Add play_if_exist command
Pasi Kallinen [Mon, 7 Dec 2015 16:10:11 +0000 (18:10 +0200)]
Ignore window size changes in resize check
root [Thu, 28 May 2015 10:59:05 +0000 (10:59 +0000)]
Ignore window size changes in resize check
Pasi Kallinen [Fri, 29 Aug 2014 13:28:10 +0000 (16:28 +0300)]
Add -pthread to CFLAGS
Pasi Kallinen [Thu, 28 Aug 2014 19:08:48 +0000 (22:08 +0300)]
Fix printf format arg type
Henrik Olsson [Sun, 6 Jul 2014 11:36:07 +0000 (13:36 +0200)]
Prevent crash in passwordgood when supplied password is one character long
Pasi Kallinen [Thu, 22 May 2014 19:12:14 +0000 (22:12 +0300)]
Actually make ee give feedback when exiting due to strange characters
Pasi Kallinen [Fri, 16 May 2014 16:19:12 +0000 (19:19 +0300)]
Exit ee gracefully, if character conversion fails.
kenkeiras [Wed, 12 Feb 2014 00:09:55 +0000 (19:09 -0500)]
Added intermediate object files, virus, and ee executables to gitignore.
Steve Wills [Fri, 4 Oct 2013 04:09:16 +0000 (04:09 +0000)]
Update Makefile.in
Add missing $(DESTDIR) to man page install
Pasi Kallinen [Sat, 25 May 2013 09:36:02 +0000 (12:36 +0300)]
Allow repeat prefix for move paragraph forward/backward command
Pasi Kallinen [Sat, 25 May 2013 09:32:41 +0000 (12:32 +0300)]
Fix string search commands, so they don't crash when command repeat prefix is too big.
Pasi Kallinen [Sat, 25 May 2013 09:01:25 +0000 (12:01 +0300)]
Minor code improvement
Pasi Kallinen [Sat, 25 May 2013 08:36:23 +0000 (11:36 +0300)]
Fix most of the commands that would crash if you gave a too big command repeat prefix number.
Pasi Kallinen [Mon, 4 Mar 2013 15:26:06 +0000 (17:26 +0200)]
Add a -c option (login shell command) with an error message. (from Edoardo Spadolini)
Pasi Kallinen [Mon, 4 Mar 2013 15:08:49 +0000 (17:08 +0200)]
Change the shared memory key to the password file. (from Edoardo Spadolini)
Pasi Kallinen [Mon, 4 Mar 2013 15:03:53 +0000 (17:03 +0200)]
Prevent input of non-ascii characters (from Edoardo Spadolini)
Pasi Kallinen [Tue, 18 Dec 2012 16:34:06 +0000 (18:34 +0200)]
Add config option "flowcontrol" to disable XON/XOFF.
Pasi Kallinen [Sat, 15 Dec 2012 17:42:54 +0000 (19:42 +0200)]
Virus: Fix dot command segfault
Pasi Kallinen [Fri, 14 Dec 2012 23:17:20 +0000 (01:17 +0200)]
Add default_term configuration option.
If the user's TERM is something unknown, dgl will use the default_term instead.
Pasi Kallinen [Sun, 9 Sep 2012 16:51:01 +0000 (19:51 +0300)]
Add some missing signal blocking, perhaps this will fix the jammed shared memory block in watching menu.
Pasi Kallinen [Sun, 10 Jun 2012 13:56:19 +0000 (16:56 +0300)]
Remove brace hilite, text auto indent, etc. from virus
Pasi Kallinen [Mon, 4 Jun 2012 15:11:56 +0000 (18:11 +0300)]
Allow printing raw string.
Add escape codes to string substitutions.
Some mode docs in the example config file.
Make chroot creation script fail with message when no sqlite3.
root [Sun, 3 Jun 2012 06:45:58 +0000 (09:45 +0300)]
Change maximum banner line length to 256.
Add color and attribute changing commands to banners: $ATTR()
Fix chroot creation script failing if no nethack binary exists.
Pasi Kallinen [Mon, 21 May 2012 20:05:43 +0000 (23:05 +0300)]
Add the err.h include
Pasi Kallinen [Mon, 21 May 2012 20:04:43 +0000 (23:04 +0300)]
Sync virus with http://www.rocklinux.net/people/ripclaw/projects/software/virus/virus-0.0.6/
Pasi Kallinen [Mon, 21 May 2012 14:32:50 +0000 (17:32 +0300)]
Fix virus crash
Pasi Kallinen [Sat, 17 Mar 2012 12:45:53 +0000 (14:45 +0200)]
Merge commits from http://git.develz.org/?p=dgamelaunch.git
- Allow DGLAUTH as additional variable to pass login data,
prioritized ahead of USER and LOGNAME. (Marc H. Thoben)
- Empty autologin variables before running any external
software. (Edoardo Spadolini)
- Remove -f parameter to prevent privilege escalation.
(Edoardo Spadolini)
Update documentation to reflect the changes.
Pasi Kallinen [Sat, 17 Mar 2012 10:17:02 +0000 (12:17 +0200)]
Ensure valid values in watching
git-svn-migrate [Sun, 11 Dec 2011 15:46:34 +0000 (17:46 +0200)]
Convert svn:ignore properties to .gitignore.
Pasi Kallinen [Thu, 13 Oct 2011 16:13:53 +0000 (16:13 +0000)]
Allow defining the login db in config file also when using sqlite.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@628
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 12 Oct 2011 15:35:44 +0000 (15:35 +0000)]
Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@627
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 12 Oct 2011 14:50:37 +0000 (14:50 +0000)]
Fix ee's check for ERR input (bhaak).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@626
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 12 Oct 2011 14:49:01 +0000 (14:49 +0000)]
A very primitive Unicode conversion of ee.
This introduces a 1MB file limit due to a lame static buffer in one place.
(Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@625
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 12 Oct 2011 14:34:40 +0000 (14:34 +0000)]
Allow getting the server time and date via banner variables:
bannervars = [ "$DATETIME" = timeformat("%F %T") ]
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@624
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Tue, 11 Oct 2011 18:05:11 +0000 (18:05 +0000)]
Make bannerstrmangle able to handle arbitrarily long strings.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@623
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Tue, 11 Oct 2011 16:48:21 +0000 (16:48 +0000)]
README and Changelog update.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@622
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Tue, 11 Oct 2011 15:50:59 +0000 (15:50 +0000)]
Always draw the whole banner.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@621
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 10 Oct 2011 19:28:28 +0000 (19:28 +0000)]
Document commandline parameters and environment variables
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@620
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 10 Oct 2011 19:06:20 +0000 (19:06 +0000)]
Document error codes. Make all error conditions return unique error codes.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@619
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 10 Oct 2011 17:50:41 +0000 (17:50 +0000)]
Add "duration" watch-mode column, which shows time since the game was started.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@618
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Sun, 9 Oct 2011 19:09:43 +0000 (19:09 +0000)]
Add configurable default filemode.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@617
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Sun, 9 Oct 2011 18:01:59 +0000 (18:01 +0000)]
...except ncurses prevents using escape sequences. Grh.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@616
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Sun, 9 Oct 2011 17:47:24 +0000 (17:47 +0000)]
Add $ESC(code), which allows changing text color and attributes in banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@615
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Sun, 9 Oct 2011 16:36:58 +0000 (16:36 +0000)]
Document $INCLUDE()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@614
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Sun, 9 Oct 2011 15:31:34 +0000 (15:31 +0000)]
Replace server_id with generic configurable string replacements usable in banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@613
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Fri, 7 Oct 2011 14:41:21 +0000 (14:41 +0000)]
Add %t string formatting, for the TTYREC of the last played game. (Edoardo Spadolini <kerio00@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@612
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 5 Oct 2011 13:57:32 +0000 (13:57 +0000)]
Make sending select-utf8-charset escape code configurable.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@611
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Tue, 4 Oct 2011 14:03:15 +0000 (14:03 +0000)]
Make locale configurable.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@610
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 16:02:30 +0000 (16:02 +0000)]
Fix defconfig.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@609
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:57:22 +0000 (15:57 +0000)]
Fix default watch column indexes (Napkin).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@608
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:53:34 +0000 (15:53 +0000)]
Add option -i <name> to initialize a player externally. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@607
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:49:14 +0000 (15:49 +0000)]
Tweak output of -s slightly. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@606
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:45:46 +0000 (15:45 +0000)]
Add option -s to show active players. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@605
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:42:30 +0000 (15:42 +0000)]
try to not stomp all over ncurses' WINCH handler (Jesse Luehrs <doy@tozt.net>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@604
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:40:03 +0000 (15:40 +0000)]
Stop reinitializing curses inside a signal handler (doy).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@603
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:37:26 +0000 (15:37 +0000)]
Set a more sane default filemode. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@602
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:36:03 +0000 (15:36 +0000)]
Ignore some more spurious vt100 G-charset switches in IBM mode.
Apparently CAO's ncurses emits it while mine doesn't, and this breaks
some terminals, including gnome-terminal but not PuTTY.
(Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@601
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:34:01 +0000 (15:34 +0000)]
Blindly assume the user's terminal can do Unicode or be switched into it.
I expect this to work in 99% cases, and if it fails, there's probably no
regression since I don't know of a terminal that can be easily switched to
CP437 but doesn't support "\e%G".
It would be better to check if the terminal uses Unicode and convert
everything to ASCII, and I'll do that soon, but this version might be
good enough for now.
(Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@600
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:31:15 +0000 (15:31 +0000)]
Allow querying the game via --print-charset if encoding is "ask". (Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@599
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:28:49 +0000 (15:28 +0000)]
Convert ancient encodings on the game's output.
Neither old Crawl nor NetHack accept non-ASCII input, so I didn't bother
implementing that.
(Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@598
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:23:14 +0000 (15:23 +0000)]
ancient encodings: config option (Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@597
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:05:31 +0000 (15:05 +0000)]
Fix corruption of non-ASCII characters in banners.
I hardcoded the locale to en_US.UTF-8 since it might get passed wrong,
and it's a reasonable value on public servers.
(Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@596
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 15:00:14 +0000 (15:00 +0000)]
Add extra_info_file support. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@595
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 14:50:35 +0000 (14:50 +0000)]
Fix watch_columns shift/reduce conflict: watch_columns was being used in both a standalone rule and as a KeyType. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@594
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 14:49:22 +0000 (14:49 +0000)]
Document the watch_columns option. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@593
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 14:47:50 +0000 (14:47 +0000)]
Accept escape to go back in menus. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@592
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 3 Oct 2011 14:46:42 +0000 (14:46 +0000)]
Add watch_columns config option. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@591
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e