]> granicus.if.org Git - nethack/log
nethack
4 years agoshould now be working compile_test3.6 travis_test3.6
nhmall [Tue, 14 Apr 2020 05:35:41 +0000 (01:35 -0400)]
should now be working

4 years agoremove ../build reference
nhmall [Tue, 14 Apr 2020 05:25:29 +0000 (01:25 -0400)]
remove ../build reference

4 years agoturn off email
nhmall [Tue, 14 Apr 2020 05:16:24 +0000 (01:16 -0400)]
turn off email

4 years agoanother attempt
nhmall [Tue, 14 Apr 2020 05:12:39 +0000 (01:12 -0400)]
another attempt

4 years agowin_flex and win_bison
nhmall [Tue, 14 Apr 2020 05:06:08 +0000 (01:06 -0400)]
win_flex and win_bison

4 years agorecursive
nhmall [Tue, 14 Apr 2020 04:57:57 +0000 (00:57 -0400)]
recursive

4 years agoagain
nhmall [Tue, 14 Apr 2020 04:47:18 +0000 (00:47 -0400)]
again

4 years agosh update
nhmall [Tue, 14 Apr 2020 04:38:05 +0000 (00:38 -0400)]
sh update

4 years agoanother shell test
nhmall [Tue, 14 Apr 2020 04:30:28 +0000 (00:30 -0400)]
another shell test

4 years agoanother update
nhmall [Tue, 14 Apr 2020 04:26:46 +0000 (00:26 -0400)]
another update

4 years agoanother try
nhmall [Tue, 14 Apr 2020 04:15:35 +0000 (00:15 -0400)]
another try

4 years agotry build with bison flex
nhmall [Tue, 14 Apr 2020 04:04:28 +0000 (00:04 -0400)]
try build with bison flex

4 years agoattempt to install flex and bison
nhmall [Tue, 14 Apr 2020 03:54:11 +0000 (23:54 -0400)]
attempt to install flex and bison

5 years agopostrelease NetHack-3.6.6_PostRelease
nhmall [Sun, 8 Mar 2020 18:57:49 +0000 (14:57 -0400)]
postrelease

5 years agocron daily updates NetHack-3.6.6_Released
nhmall [Sun, 8 Mar 2020 17:29:31 +0000 (13:29 -0400)]
cron daily updates

5 years agoInstall.nt bit
nhmall [Sun, 8 Mar 2020 17:20:41 +0000 (13:20 -0400)]
Install.nt bit

5 years agomore one-page Guidebook
PatR [Sun, 8 Mar 2020 17:01:50 +0000 (10:01 -0700)]
more one-page Guidebook

doc/.gitignore update from 998d8b1fd4803c9e54bdb8e1c353d3ecaed7c6ba.

Manual update of Files.

5 years agoGuidebook.dat typo
PatR [Sat, 15 Feb 2020 22:42:00 +0000 (14:42 -0800)]
Guidebook.dat typo

A typo in Gbk-1pg-sfx.mn resulted in " /" as a "last word" on the
end-of-data marker line of the intermediate 12345 line single page.
That was effectively invisible because it immediately got deleted
during the post-processing which strips off that marker through to
the end (producing a 5266 line single page at present).

(cherry picked from commit c78a69bc4452ccd31932c9a35ba342e654dde429)

5 years agoGuidebook.dat, one-page edition of Guidebook.txt
PatR [Sat, 15 Feb 2020 02:15:25 +0000 (18:15 -0800)]
Guidebook.dat, one-page edition of Guidebook.txt

Update sys/unix/Makefile.doc to be able to build Guidebook.dat, an
unpaginated copy of the plain text Guidebook.  It's generated from
the 'roff source rather than by attempting to post-process the
regular text Guidebook.

No doubt there are easier ways to do this.

(cherry picked from commit 91b569e6c45d8a7712c5d9b2a3ea0fabf0fbf4e3)

5 years agomon's glorkum pass harmlessly through the shade
PatR [Sat, 7 Mar 2020 18:47:51 +0000 (10:47 -0800)]
mon's glorkum pass harmlessly through the shade

I couldn't reproduce the problem; it appears to depend upon whether
the file-scope variable 'otmp' has a stale value, and that might
happen after a monster has tried to steal mon's saddle.  However,
the code pointed out in the report is clearly wrong.  This prevents
feedback of "glorkum" (with plural verb since quantity of 0 isn't 1),
but the potential stale value hasn't been dealt with.

5 years agoupdate visual studio props file
nhmall [Sat, 7 Mar 2020 16:45:35 +0000 (11:45 -0500)]
update visual studio props file

5 years agoclear travis boolean prerelease flag as well
nhmall [Sat, 7 Mar 2020 16:38:42 +0000 (11:38 -0500)]
clear travis boolean prerelease flag as well

5 years agoupdate .travis.yml
nhmall [Sat, 7 Mar 2020 16:32:50 +0000 (11:32 -0500)]
update .travis.yml

5 years agoMarch 2020 updates
nhmall [Fri, 6 Mar 2020 15:31:51 +0000 (10:31 -0500)]
March 2020 updates

5 years agoavoid #wizrumorcheck crash on bad rumor input
PatR [Thu, 5 Mar 2020 21:55:45 +0000 (13:55 -0800)]
avoid #wizrumorcheck crash on bad rumor input

If either rumors.tru or rumors.fal was empty when makedefs made
'rumors', init_rumors() will set true_rumor_size to -1 to indicate
that rumors aren't available.  It also closes the input file, and
then #wizrumorcheck closed that again, triggering a crash in the
dlb code.

Fortune cookies and oracles work ok (just not very interesting)
when rumors aren't available.  Only the check command had trouble
with that.

5 years agofixes update
nhmall [Wed, 4 Mar 2020 21:01:50 +0000 (16:01 -0500)]
fixes update

5 years agofix github issue #302 - divide by 0 crash
PatR [Sat, 22 Feb 2020 09:41:04 +0000 (01:41 -0800)]
fix github issue #302 - divide by 0 crash

The traceback points directly to the problem:  divide by 0 happens
if the 'bogusmon' file only contains the "do not edit" line, which
would happen if 'bogusmon.txt' is empty.  makedefs probably ought to
complain about that.

There is now one hardcoded bogus monster to fall back to:  'bogon'.

Random tombstone epitaphs report divide by 0 if their text source is
empty, but it is done by rn2() rather than rn2_for_display_rng() so
is just a warning for pre-release code.  It would crash for release
version though.

I tried placing an empty engravings file and expected similar results
but didn't see any response.  Not sure what that means.

After the fix, empty epitaph file yields blank result so graves that
want a random epitaph won't have any epitaph.

Fixes #302

5 years agomore #302 - empty {bogusmon,engrave,epitaph}.txt
PatR [Sat, 22 Feb 2020 20:32:00 +0000 (12:32 -0800)]
more #302 - empty {bogusmon,engrave,epitaph}.txt

Have makedefs add a real data line to the output for the files that
caused trouble when empty.

5 years agoThis is cron-daily v1-Jan-20-2020. files updated: Files
nhw_cron [Wed, 4 Mar 2020 16:24:08 +0000 (11:24 -0500)]
This is cron-daily v1-Jan-20-2020.  files updated: Files

5 years agoThis is cron-daily v1-Jan-20-2020. guidebook updated: doc/Guidebook.txt
nhw_cron [Wed, 4 Mar 2020 16:24:05 +0000 (11:24 -0500)]
This is cron-daily v1-Jan-20-2020.  guidebook updated: doc/Guidebook.txt

5 years agoupdates for 3.6 March 2020
nhmall [Wed, 4 Mar 2020 15:41:57 +0000 (10:41 -0500)]
updates for 3.6 March 2020

5 years agoupdate to Install.nt
nhmall [Wed, 4 Mar 2020 15:31:48 +0000 (10:31 -0500)]
update to Install.nt

5 years agotravis bit post-release
nhmall [Mon, 27 Jan 2020 23:17:29 +0000 (18:17 -0500)]
travis bit post-release

5 years agofixes36.5 update
nhmall [Mon, 27 Jan 2020 23:11:43 +0000 (18:11 -0500)]
fixes36.5 update

5 years agopost-release
nhmall [Mon, 27 Jan 2020 23:05:25 +0000 (18:05 -0500)]
post-release

5 years agoAnother VMS tweak NetHack-3.6.5_PostRelease NetHack-3.6.5_Released
PatR [Mon, 27 Jan 2020 20:14:19 +0000 (12:14 -0800)]
Another VMS tweak

One of the new paragraphs inadvertently duplicated an existing one.

5 years agoone more missed inconsistency and README updates
nhmall [Mon, 27 Jan 2020 20:05:45 +0000 (15:05 -0500)]
one more missed inconsistency and README updates

5 years agoReadme tweaks
PatR [Mon, 27 Jan 2020 19:53:18 +0000 (11:53 -0800)]
Readme tweaks

Replace a few tabs, remove a few trailing spaces, and shorten a few
long lines.

Readme still needs another fix:  if falsely claims to contain all bug
fixes since 3.6.4.  I wasn't sure how to reword that so didn't try.

Also, fix a couple of old typos in Install.vms.

5 years agomore typo propagation
nhmall [Mon, 27 Jan 2020 17:56:34 +0000 (12:56 -0500)]
more typo propagation

5 years agoanother typo
nhmall [Mon, 27 Jan 2020 17:27:41 +0000 (12:27 -0500)]
another typo

5 years agotypo
nhmall [Mon, 27 Jan 2020 16:50:19 +0000 (11:50 -0500)]
typo

5 years agotravis updates
nhmall [Mon, 27 Jan 2020 16:28:21 +0000 (11:28 -0500)]
travis updates

5 years agoThis is cron-daily v1-Jan-20-2020. guidebook updated: doc/Guidebook.txt
nhw_cron [Mon, 27 Jan 2020 15:17:10 +0000 (10:17 -0500)]
This is cron-daily v1-Jan-20-2020.  guidebook updated: doc/Guidebook.txt

5 years agoGuidebook date-stamp
nhmall [Mon, 27 Jan 2020 14:27:03 +0000 (09:27 -0500)]
Guidebook date-stamp

5 years agoavoid link error with gcc 10 which enables -fno-common by default
nhmall [Mon, 27 Jan 2020 13:23:56 +0000 (08:23 -0500)]
avoid link error with gcc 10 which enables -fno-common by default

5 years agoInstall.vms update
PatR [Mon, 27 Jan 2020 10:20:47 +0000 (02:20 -0800)]
Install.vms update

5 years agodoc/Guidebook.txt update from daily cron
nhmall [Sun, 26 Jan 2020 15:03:15 +0000 (10:03 -0500)]
doc/Guidebook.txt update from daily cron

5 years agorelease prep bits
nhmall [Sun, 26 Jan 2020 04:42:36 +0000 (23:42 -0500)]
release prep bits

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
Bart House [Sun, 26 Jan 2020 01:07:59 +0000 (17:07 -0800)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoFall back to executable path if we have trouble converting known path.
Bart House [Sun, 26 Jan 2020 01:07:45 +0000 (17:07 -0800)]
Fall back to executable path if we have trouble converting known path.

5 years agounix 'make clean' update
PatR [Sat, 25 Jan 2020 20:08:28 +0000 (12:08 -0800)]
unix 'make clean' update

Remove dat/gitinfo.txt which has been getting overlooked.
Hardly urgent, but useful if this is the last 3.5.x release.

5 years agoXcode build fixes
nhmall [Sat, 25 Jan 2020 17:34:06 +0000 (12:34 -0500)]
Xcode build fixes

5 years agoexec commands in MSBUILD *.proj files didn't handle spaces in directory names
nhmall [Sat, 25 Jan 2020 17:23:54 +0000 (12:23 -0500)]
exec commands in MSBUILD *.proj files didn't handle spaces in directory names

5 years agowindows vsprintf bit
nhmall [Tue, 21 Jan 2020 01:58:40 +0000 (20:58 -0500)]
windows vsprintf bit

5 years agomore vsnprintf
nhmall [Tue, 21 Jan 2020 00:22:18 +0000 (19:22 -0500)]
more vsnprintf

5 years agomore vsnprintf
nhmall [Mon, 20 Jan 2020 23:14:19 +0000 (18:14 -0500)]
more vsnprintf

5 years agoupdate README and patchlevel.h
nhmall [Mon, 20 Jan 2020 21:58:12 +0000 (16:58 -0500)]
update README and patchlevel.h

5 years agouse vsnprintf instead of vsprintf in pline.c
nhmall [Mon, 20 Jan 2020 21:08:11 +0000 (16:08 -0500)]
use vsnprintf instead of vsprintf in pline.c

5 years agocommand line triggered buffer overruns
PatR [Thu, 16 Jan 2020 13:22:18 +0000 (05:22 -0800)]
command line triggered buffer overruns

Prevent extremely long command line arguments from overflowing local
buffers in raw_printf or config_error_add.  The increased buffer
sizes they recently got to deal with long configuration file values
aren't sufficient to handle command line induced overflows.

choose_windows(core): copy and truncate the window_type argument in
case it gets passed to config_error_add().

process_options(unix): report bad values with "%.60s" so that vsprintf
will implicitly truncate when formatted by raw_printf().

5 years agofixes update
nhmall [Thu, 16 Jan 2020 15:18:37 +0000 (10:18 -0500)]
fixes update

5 years agoPrevent accessing outside the mons array
Pasi Kallinen [Fri, 20 Dec 2019 13:16:12 +0000 (15:16 +0200)]
Prevent accessing outside the mons array
Fix another out-of-bounds error
Monster trying to decide if a tin could cure stoning looking at
a special or empty tin would do acidic(&mons[-1])

5 years agoThis is cron-daily v1-Jan-14-2020. guidebook updated: doc/Guidebook.txt
nhw_cron [Wed, 15 Jan 2020 03:17:28 +0000 (22:17 -0500)]
This is cron-daily v1-Jan-14-2020.  guidebook updated: doc/Guidebook.txt

5 years agoThis is cron-daily v1-Jan-14-2020. files updated: Files
nhw_cron [Wed, 15 Jan 2020 03:17:28 +0000 (22:17 -0500)]
This is cron-daily v1-Jan-14-2020.  files updated: Files

5 years agoMerge branch 'NetHack-3.6-housekeeping-for-3.6.5' into NetHack-3.6
nhmall [Wed, 15 Jan 2020 02:58:55 +0000 (21:58 -0500)]
Merge branch 'NetHack-3.6-housekeeping-for-3.6.5' into NetHack-3.6

5 years agofix sym_val() buffer overrun fix
PatR [Tue, 14 Jan 2020 22:34:03 +0000 (14:34 -0800)]
fix sym_val() buffer overrun fix

Fix a mistake in commit 74de7d31e0a6b3e2ebd852e333fe66d212fd6a90.
Copy+paste error resulted in 'strval + 1' when 'strval' is required.

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: mnh.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: mnh.txt

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: mn.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: mn.txt

5 years agoThis is cron-daily v1-Jan-14-2020. files updated: Files
nhw_cron [Tue, 14 Jan 2020 16:17:37 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  files updated: Files

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: recover.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: recover.txt

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: nethack.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: nethack.txt

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: makedefs.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: makedefs.txt

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: lev_comp.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: lev_comp.txt

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: dlb.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: dlb.txt

5 years agoThis is cron-daily v1-Jan-14-2020. manpages updated: dgn_comp.txt
nhw_cron [Tue, 14 Jan 2020 16:17:34 +0000 (11:17 -0500)]
This is cron-daily v1-Jan-14-2020.  manpages updated: dgn_comp.txt

5 years agodocumentation updates
nhmall [Tue, 14 Jan 2020 16:44:02 +0000 (11:44 -0500)]
documentation updates

5 years agohousekeeping items for 3.6.5 - first pass
nhmall [Tue, 14 Jan 2020 16:35:06 +0000 (11:35 -0500)]
housekeeping items for 3.6.5 - first pass

5 years agofix pline.c potential buffer overruns
PatR [Tue, 14 Jan 2020 10:52:34 +0000 (02:52 -0800)]
fix pline.c potential buffer overruns

Fix 'Bugs 4, 5, and 6' which all use a similar fix but would have
conflicts over '#define BIGBUFSZ' if committed separately.

Format ("short explanation %s", string_argument), where the
explanation always has modest length but the string is potentially
up to 4*BUFSZ in length, into a 5*BUFSZ buffer.  Then truncate the
result to at most BUFSZ-1 characters so that it can be safely passed
to interface-specific putstr() or raw_print().

Applies to pline(), raw_printf(), and config_error_add().  Also done
for impossible() although there's no evidence that its buffer could
be overflowed in a controlled manner.

5 years agofix sym_val() buffer overrun
PatR [Tue, 14 Jan 2020 10:05:14 +0000 (02:05 -0800)]
fix sym_val() buffer overrun

Fix 'Bug 3' where too long SYMBOL=string in run-time config file could
overflow a local buffer and clobber the stack.

Valid value is only one character long after processing an 'escaped'
encoded character which can be at most 6 characters (plus terminator):
backslash M backslash and up three digits.  If/when UTF8 gets added
the number of digits will increase.  Use a truncated copy of the input
(substantially bigger than 6+1); ignore any excess.

5 years agofix add_menu_coloring() buffer overrun
PatR [Tue, 14 Jan 2020 03:26:53 +0000 (19:26 -0800)]
fix add_menu_coloring() buffer overrun

Fix 'Bug 2' where too long MENUCOLOR=string in run-time config file
could overflow a local buffer and clobber the stack.

Theoretically a menu coloring regular expression could require a
bigger buffer but I don't think we need to try to support that.
255 characters minus the amount needed to specify color and/or
attributes should be ample.

5 years agofixes36.5
PatR [Tue, 14 Jan 2020 03:17:35 +0000 (19:17 -0800)]
fixes36.5

5 years agogroundwork
PatR [Tue, 14 Jan 2020 03:09:57 +0000 (19:09 -0800)]
groundwork

Fix one warning and reformat some of the recently added code.

5 years agofixes update
nhmall [Mon, 13 Jan 2020 20:30:23 +0000 (15:30 -0500)]
fixes update

5 years agowindows intermediate file into .gitignore
nhmall [Mon, 13 Jan 2020 20:23:42 +0000 (15:23 -0500)]
windows intermediate file into .gitignore

5 years agoremove unintended src file
nhmall [Mon, 13 Jan 2020 20:03:03 +0000 (15:03 -0500)]
remove unintended src file

5 years agofix bug1
nhmall [Mon, 13 Jan 2020 19:54:48 +0000 (14:54 -0500)]
fix bug1

have string_for_opt() return the value string or empty_optstr to
provide some level of crash protection if some future added option
processing misbehaves. Callers of string_for_opt() and
string_for_env_opt() should always check for a match to empty_optstr.

5 years agoignore lib folder
nhmall [Mon, 13 Jan 2020 16:25:38 +0000 (11:25 -0500)]
ignore lib folder

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
Bart House [Sun, 22 Dec 2019 01:04:49 +0000 (17:04 -0800)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agopost-release windows binary fix
nhmall [Sun, 22 Dec 2019 01:02:37 +0000 (20:02 -0500)]
post-release windows binary fix

5 years agoEnsure front tile size is non-zero to avoid divide by zero exceptions.
Bart House [Sat, 21 Dec 2019 21:14:14 +0000 (13:14 -0800)]
Ensure front tile size is non-zero to avoid divide by zero exceptions.

5 years agoBump in manifest to reflect latest store release.
Bart House [Sat, 21 Dec 2019 21:13:43 +0000 (13:13 -0800)]
Bump in manifest to reflect latest store release.

5 years agoThis is cron-daily v1-Dec-12-2019. files updated: Files
nhw_cron [Thu, 19 Dec 2019 22:17:40 +0000 (17:17 -0500)]
This is cron-daily v1-Dec-12-2019.  files updated: Files

5 years ago.travis.yml update post-3.6.4
nhmall [Wed, 18 Dec 2019 22:23:17 +0000 (17:23 -0500)]
.travis.yml update post-3.6.4

5 years agolanding spot for post-3.6.4 patches if needed
nhmall [Wed, 18 Dec 2019 21:49:55 +0000 (16:49 -0500)]
landing spot for post-3.6.4 patches if needed

This is a landing spot.

5 years agopost-release
nhmall [Wed, 18 Dec 2019 21:46:30 +0000 (16:46 -0500)]
post-release

5 years agoupdate version NetHack-3.6.4_Released
nhmall [Wed, 18 Dec 2019 20:29:40 +0000 (15:29 -0500)]
update version

5 years agoREADME bit
nhmall [Wed, 18 Dec 2019 15:01:54 +0000 (10:01 -0500)]
README bit

5 years agoThis is cron-daily v1-Dec-12-2019. guidebook updated: doc/Guidebook.txt
nhw_cron [Wed, 18 Dec 2019 09:17:25 +0000 (04:17 -0500)]
This is cron-daily v1-Dec-12-2019.  guidebook updated: doc/Guidebook.txt

5 years agohousekeeping updates
nhmall [Wed, 18 Dec 2019 04:38:06 +0000 (23:38 -0500)]
housekeeping updates

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Wed, 18 Dec 2019 04:18:06 +0000 (23:18 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoupdate and simplify the windows portable_device_paths sysconf option
nhmall [Wed, 18 Dec 2019 04:16:44 +0000 (23:16 -0500)]
update and simplify the windows portable_device_paths sysconf option

Requires a sysconf file in the windows executable directory in order to work