From 70bacac9e6f3b6613da51dd69c555107ebe62aa0 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 6 Nov 2019 17:59:12 -0500 Subject: [PATCH 1/5] Guidebook.mn bit --- doc/Guidebook.mn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index f389ef8b5..622ab30fc 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -511,8 +511,8 @@ information, then let you pick another location; you to choose another location to examine; \(oq:\(cq will show additional info, if any, without asking for confirmation. When picking a location, -pressing the ESC key will terminate this command, or pressing \(oq?\(cq -will give a brief reminder about how it works. +pressing the ESC key will terminate this command, or pressing \(oq?\(cq will +give a brief reminder about how it works. .lp "" If the .op autodescribe From 4dd39a0d7e033335ee98cfaa7ec38d85251ab956 Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 7 Nov 2019 01:15:09 -0800 Subject: [PATCH 2/5] fixes36.3 tidying Reword a few entries, remove a few trailing spaces. --- doc/fixes36.3 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/fixes36.3 b/doc/fixes36.3 index d9db05039..e3d08f5ab 100644 --- a/doc/fixes36.3 +++ b/doc/fixes36.3 @@ -1,4 +1,4 @@ -$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.162 $ $NHDT-Date: 1573066356 2019/11/06 18:52:36 $ +$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.163 $ $NHDT-Date: 1573118102 2019/11/07 09:15:02 $ This fixes36.3 file is here to capture information about updates in the 3.6.x lineage following the release of 3.6.2 in May 2019. Please note, however, @@ -152,9 +152,9 @@ zapping self with wand of opening or spell of knock to escape from a pit trap wielded aklys that returned to hero when thrown while inside an engulfer left a stale 'thrownobj' pointer that triggered "add_to_minv: obj not free" panic if same weapon killed any engulfer via melee from inside -uarmh null pointer dereference if a helm of opposite alignment came off due +uarmh null pointer dereference if a helm of opposite alignment came off due to being polymorphed -verb tense was inappropriate in some messages when a mon/pet had a name +verb tense was inappropriate in some messages when a mon/pet had a name ending in 's' orctown booty items should have been initialized in mksobj() query_category() and whatdoes_help() had early returns which could each leave @@ -176,7 +176,7 @@ avoid 'object lost' panic when polymorph causes loss of levitation boots or running told player about engravings as they were being moved over but buffered output didn't show it until hero stopped, so it wasn't possible to tell where they were, unlike all other forms of - multiple movement; stop running if/when an engraving is reached + multiple movement; so stop running if/when an engraving is reached fix exploding land mine moving ball or chain and causing a sanity error fix firing attached iron ball when swallowed causing a sanity error fix vault guard impossible when he could not relocate in certain situation @@ -239,8 +239,8 @@ monster throwing from stack of missiles (darts, daggers, spears) would cause surviving death while polymorphed would yield "You are a " without terminating period 'mksobj failure' commit resulted in wrong corpse types for dying monsters -a recent intended sanity check fix inadvertently bypassed placing - a thrown chained ball back onto the floor +a recent intended sanity check fix inadvertently bypassed placing a thrown + chained ball back onto the floor in symset:curses, symbol S_tree was accidentally set to horizontal line where plus-or-minus sign was meant; also, change S_bars to not-equals sign curses: sometimes the message window would show a blank line after a prompt @@ -284,10 +284,10 @@ curses: support EDIT_GETLIN (but like with tty, it's disabled by default) to (however, it's skipped if the 'popup_dialog' option is On) curses: when display windows get reconfigured (after setting align_status, align_message, statuslines, windowborders or due to external resize), - the message window was being refreshed with the oldest available N - messages rather than most recent N. [Still room for improvement; - when feasible it combines short lines, resulting in N messages on - fewer than N lines and leaving some of the available lines blank.] + the message window was being refreshed with most recent message and + the oldest available N-1 messages rather than next to most recent N-1. + [Still room for improvement when short lines are combined or long + ones are wrapped, where it still shows a subset of N original lines.] curses: plug memory leak when getting a line of input is cancelled by ESC curses: after requesting a line of input from player, next line of message window could end up being skipped @@ -301,7 +301,7 @@ curses: make text windows wider so that help feedback is more readable curses: using ':' for search string matching to toggle menu items in a multple page menu would highlight arbitrary items on the currently visible page in sync with the lines that matching items had on other pages -curses: when map window was clipped, the 'scrollbars' shown to indicate which +curses: when map window was clipped, position bars shown to indicate which part of the map was in view didn't work as intended, always drawing "*--------------" for horizontal (and comparable '*' with multiple '|' underneath for vertical) when it meant to show "---******------" if @@ -315,8 +315,8 @@ curses: disable the attempt to support Ctrl+Left_click as an alternate way the mouse data passed to nethack didn't match the curses (ncurses on OSX 10.11) documentation and things didn't work as intended curses: menu coloring required that both 'menucolors' and 'guicolor' be On; - for menus, override guicolor with more-specific menucolors -curses: support symset:DECgraphics for map display + for menus, ignore 'guicolor' and honor more-specific 'menucolors' +curses: support symset:curses and symset:DECgraphics for map display curses: enable the 'use_inverse' boolean option (via wincap WC_INVERSE flag) for extended monster detection and black&white lava; forced to True to override default of False (for tty's benefit) @@ -355,13 +355,13 @@ tty: take two, if/when autodecribe feedback wraps past top line, clear tty: video attributes (bold, inverse, &c) for status highlighting sometimes were scrambled unix: sysconf CHECK_PLNAME=1 wouldn't work if attempt to obtain unix username - failed even though it didn't need that username + failed even though it didn't need that to check player character name unix+curses: startup error only reset terminal for tty; one noticeable example was answering 'n' to "Destroy old game?" Windows: some startup error messages were not being delivered successfully WindowsGUI: player selection dialog box layout was not being adjusted for DPI -Windows: signifiant changes to default directory choices. see documentation - for details. +Windows: signifiant changes to default directory choices; see documentation + for details General New Features From 1908017e27667a6ca92d1ece0e22c84eda37b249 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 7 Nov 2019 11:23:28 +0200 Subject: [PATCH 3/5] Fixes typo --- doc/fixes36.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fixes36.3 b/doc/fixes36.3 index e3d08f5ab..9ff36d1d2 100644 --- a/doc/fixes36.3 +++ b/doc/fixes36.3 @@ -360,7 +360,7 @@ unix+curses: startup error only reset terminal for tty; one noticeable example was answering 'n' to "Destroy old game?" Windows: some startup error messages were not being delivered successfully WindowsGUI: player selection dialog box layout was not being adjusted for DPI -Windows: signifiant changes to default directory choices; see documentation +Windows: significant changes to default directory choices; see documentation for details From 2b98d161d6ff710bcabd9c2e7486a12953588ff3 Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 7 Nov 2019 01:42:29 -0800 Subject: [PATCH 4/5] fixes36.3 again Noticed that "multiple" was misspelled for entry about menu action ':' misbehaving under curses, but the phrasing for whole entry was difficult to comprehend so try to word it better. [This one is in the highlights list with the old wording.] --- doc/fixes36.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/fixes36.3 b/doc/fixes36.3 index 9ff36d1d2..dc4e5aa1c 100644 --- a/doc/fixes36.3 +++ b/doc/fixes36.3 @@ -1,4 +1,4 @@ -$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.163 $ $NHDT-Date: 1573118102 2019/11/07 09:15:02 $ +$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.165 $ $NHDT-Date: 1573119743 2019/11/07 09:42:23 $ This fixes36.3 file is here to capture information about updates in the 3.6.x lineage following the release of 3.6.2 in May 2019. Please note, however, @@ -298,9 +298,9 @@ curses: don't convert ^M (or or key) into ^J; both ^J and ^M cause the hero to try to move curses: draw map in screen columns 1..79 like tty, rather than in 2..80 curses: make text windows wider so that help feedback is more readable -curses: using ':' for search string matching to toggle menu items in a multple - page menu would highlight arbitrary items on the currently visible - page in sync with the lines that matching items had on other pages +curses: using ':' for toggling menu items which match a search string, in a + multi-page menu it would highlight arbitrary items on the currently + visible page in sync with lines that matched items have on other pages curses: when map window was clipped, position bars shown to indicate which part of the map was in view didn't work as intended, always drawing "*--------------" for horizontal (and comparable '*' with multiple '|' From 71d229a99dec0a172b750cec9ebe5703cf70e146 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 7 Nov 2019 10:50:14 -0500 Subject: [PATCH 5/5] Update README and include/patchlevel.h --- README | 31 ++++++++++++++++++++++++++++--- include/patchlevel.h | 39 +++++++++++++++++++++++++++++++++++---- 2 files changed, 63 insertions(+), 7 deletions(-) diff --git a/README b/README index d7698ffd4..64ff6cb1c 100644 --- a/README +++ b/README @@ -16,9 +16,34 @@ the "new features" section. Below you will find some other general notes that were not considered spoilers: -* Over 30 refinements to the curses window port. -* Some refinements to status highlights. -* A couple of fixes to prevent potential game crashes. + * Fixed stale 'thrownobj' pointer for returning thrown aklys while engulfed + * Fixed uarmh null pointer dereference if a helm of opposite alignment came + * off due to being polymorphed + * Fixed 'object lost' panic when attempting to crawl of of the water during + * emergency disrobing/dropping + * Running now stops when moving over engravings so you can tell where they are + * Fixed detection of unseen/secret doors which failed to find monsters hiding + * under objects and failed to find monsters hiding at trap locations + * Ensured fatal status conditions made it to disclosure and/or dumplog + * Fixed "Bad fruit #N" warnings when saving bones with 'perm_invent' On + * Fixed it so yellow dragons don't have green breath + * Added several grammar corrections + * Improved recognition of deafness for several situations including the + * playing of musical instruments and bribing negotiations with demon lords + * Fixed ignoring of god's wrath when hero injured himself during alter kick + * Fixed several cases where persistent inventory window was not updated + * Fixed temple priests or shopkeepers moving over other monsters + * Ensured that thrown or kicked objects will end up in bones + * Made water go all the way to the edges of level on the Plane of Water + * Made clouds disrupt line of sight along the edges of the Plane of Air + * Improved and expanded usage of status highlighting percentage rules + * Added more than 15 improvements and fixes to the curses window port + * Added and documented significant changes to default directory choices for + * the Windows platform + * Improved the layout and display of the player selection dialog used on the + * Windows graphical implementation + * Allowed the msdos implementation to build with curses and PDCurses + * Over 100 other fixes and improvements - - - - - - - - - - - diff --git a/include/patchlevel.h b/include/patchlevel.h index 13c8d4ae3..68061d695 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -37,12 +37,41 @@ /* Version 3.6.x */ /* Patch 3, - * + * + * Fixed stale 'thrownobj' pointer for returning thrown aklys while engulfed + * Fixed uarmh null pointer dereference if a helm of opposite alignment came + * off due to being polymorphed + * Fixed 'object lost' panic when attempting to crawl of of the water during + * emergency disrobing/dropping + * Running now stops when moving over engravings so you can tell where they are + * Fixed detection of unseen/secret doors which failed to find monsters hiding + * under objects and failed to find monsters hiding at trap locations + * Ensured fatal status conditions made it to disclosure and/or dumplog + * Fixed "Bad fruit #N" warnings when saving bones with 'perm_invent' On + * Fixed it so yellow dragons don't have green breath + * Added several grammar corrections + * Improved recognition of deafness for several situations including the + * playing of musical instruments and bribing negotiations with demon lords + * Fixed ignoring of god's wrath when hero injured himself during alter kick + * Fixed several cases where persistent inventory window was not updated + * Fixed temple priests or shopkeepers moving over other monsters + * Ensured that thrown or kicked objects will end up in bones + * Made water go all the way to the edges of level on the Plane of Water + * Made clouds disrupt line of sight along the edges of the Plane of Air + * Improved and expanded usage of status highlighting percentage rules + * Added more than 15 improvements and fixes to the curses window port + * Added and documented significant changes to default directory choices for + * the Windows platform + * Improved the layout and display of the player selection dialog used on the + * Windows graphical implementation + * Allowed the msdos implementation to build with curses and PDCurses + * Included over 100 other fixes and improvements as outlined in doc/fixes36.3 */ /* Patch 2, May 7, 2019 * - * Over 320 bug fixes including a couple of crash bug fixes + * Over 320 bug fixes including a couple of crash bug fixes as outlined in + * doc/fixes36.2 * More than 15 enhancements or improvements * Ensuring that unix Makefiles do not rely on features unique to gnu make * Improvements to hilite_status parsing in an effort to ensure that expected @@ -54,13 +83,15 @@ */ /* Patch 1, April 27, 2018 - * Over four hundred and seventy bug fixes and improvements. + * + * Over four hundred and seventy bug fixes and improvements as outlined in + * doc/fixes36.1 */ /* * NetHack 3.6.0, December 7, 2015 * - * Hundreds of bug fixes. + * Hundreds of bug fixes as outlined in doc/fixes36.0. * Some code reorganization. * Some new features. * Variations of some community patches rolled in.