open-adventure.git
20 months agoAdd test for interspersed non-motion command amidst magic words.
Eric S. Raymond [Sun, 5 Mar 2023 01:26:13 +0000 (20:26 -0500)]
Add test for interspersed non-motion command amidst magic words.

20 months agoNEWS and notes.adoc update.
Eric S. Raymond [Sun, 5 Mar 2023 01:16:07 +0000 (20:16 -0500)]
NEWS and notes.adoc update.

20 months agoPrevent a spurious coverage error.
Eric S. Raymond [Sun, 5 Mar 2023 00:58:57 +0000 (19:58 -0500)]
Prevent a spurious coverage error.

20 months agoComplain to user on save/resume.restore when it's disabled.
Eric S. Raymond [Sun, 5 Mar 2023 00:48:17 +0000 (19:48 -0500)]
Complain to user on save/resume.restore when it's disabled.

20 months agoDocument -a option.
Eric S. Raymond [Fri, 3 Mar 2023 22:18:00 +0000 (17:18 -0500)]
Document -a option.

20 months agoAdd optional auto-save/restore feature using -a <filename> option 288/head
Rob Swindell (on Debian Linux) [Fri, 3 Mar 2023 03:44:47 +0000 (19:44 -0800)]
Add optional auto-save/restore feature using -a <filename> option

To enable use with online Bulletin Board Systems (BBSes) where users
may be disconnected unexpectedly, but would naturally want to resume
playing their same game, added support for an optional save game
path/filename to be specified on the command-line (very similar to
"-r <filename>"), except this save/restore file is:
1. automatically loaded/restored if it exists
2. automatically created when starting a new game
3. automatically updated when exiting a game for any reason
4. cannot be changed to a different path/filename by the user

Since a BBS server program can be expected to send a SIGHUP or SIGTERM
to the game process upon user disconnection (or timeout), those
signals are caught and a graceful termination will occur which saves
the current game state.

Build with ADVENT_AUTOSAVE defined to enable this option.

BUG:
The 'info' command still reports the save/suspend/pause commands as
valid, though they are not when this build option is used (same is
true of ADVENT_NOSAVE, and that doesn't apparently bother anyone).

20 months agoIncrease retrigressiveness of oldstyle a bit.
Eric S. Raymond [Wed, 1 Mar 2023 22:46:13 +0000 (17:46 -0500)]
Increase retrigressiveness of oldstyle a bit.

20 months agoComment typo fix.
Eric S. Raymond [Wed, 1 Mar 2023 21:03:13 +0000 (16:03 -0500)]
Comment typo fix.

20 months agoDon't crap out on failed diff.
Eric S. Raymond [Wed, 1 Mar 2023 19:01:44 +0000 (14:01 -0500)]
Don't crap out on failed diff.

20 months agoAnother comment typo fix.
Eric S. Raymond [Wed, 1 Mar 2023 18:52:54 +0000 (13:52 -0500)]
Another comment typo fix.

20 months agoAddress Gitlab isse #62: Comment typos.
Eric S. Raymond [Wed, 1 Mar 2023 18:04:53 +0000 (13:04 -0500)]
Address Gitlab isse #62: Comment typos.

20 months agoMove pylint suppressions inline.
Eric S. Raymond [Wed, 1 Mar 2023 00:46:50 +0000 (19:46 -0500)]
Move pylint suppressions inline.

20 months agoReady to ship 1.13. 1.13
Eric S. Raymond [Tue, 28 Feb 2023 23:48:57 +0000 (18:48 -0500)]
Ready to ship 1.13.

20 months agocppcheck cleanup.
Eric S. Raymond [Tue, 28 Feb 2023 23:54:07 +0000 (18:54 -0500)]
cppcheck cleanup.

20 months agoNEWS update.
Eric S. Raymond [Tue, 28 Feb 2023 23:40:40 +0000 (18:40 -0500)]
NEWS update.

20 months agoDocumerntation and comment polishing.
Eric S. Raymond [Tue, 28 Feb 2023 22:05:37 +0000 (17:05 -0500)]
Documerntation and comment polishing.

20 months agoImprove message emission when player wins.
Eric S. Raymond [Tue, 28 Feb 2023 20:06:06 +0000 (15:06 -0500)]
Improve message emission when player wins.

20 months agoUpdate our tapview copy.
Eric S. Raymond [Tue, 28 Feb 2023 20:04:42 +0000 (15:04 -0500)]
Update our tapview copy.

20 months agoSPDXify generated code.
Eric S. Raymond [Tue, 28 Feb 2023 19:55:40 +0000 (14:55 -0500)]
SPDXify generated code.

20 months agoPrevent spurious error return.
Eric S. Raymond [Tue, 28 Feb 2023 19:48:33 +0000 (14:48 -0500)]
Prevent spurious error return.

20 months agoEliminate a bad code smell.
Eric S. Raymond [Tue, 28 Feb 2023 11:45:24 +0000 (06:45 -0500)]
Eliminate a bad code smell.

20 months agoAdd Ryan Sarson's 430-point win to the test suite.
Eric S. Raymond [Tue, 28 Feb 2023 04:03:38 +0000 (23:03 -0500)]
Add Ryan Sarson's 430-point win to the test suite.

21 months agoCleanup for current pylint.
Eric S. Raymond [Fri, 17 Feb 2023 18:45:50 +0000 (13:45 -0500)]
Cleanup for current pylint.

21 months agoDocumentation polishing.
Eric S. Raymond [Tue, 7 Feb 2023 10:27:24 +0000 (05:27 -0500)]
Documentation polishing.

21 months agoComment improvements.
Eric S. Raymond [Tue, 7 Feb 2023 09:55:59 +0000 (04:55 -0500)]
Comment improvements.

21 months agoReady to ship 1.12 1.12
Eric S. Raymond [Mon, 6 Feb 2023 22:03:34 +0000 (17:03 -0500)]
Ready to ship 1.12

21 months agoNEWS update.
Eric S. Raymond [Mon, 6 Feb 2023 21:52:16 +0000 (16:52 -0500)]
NEWS update.

21 months agoAnother typo fix.
Eric S. Raymond [Mon, 6 Feb 2023 21:46:03 +0000 (16:46 -0500)]
Another typo fix.

21 months agoExperimental tweak of Docker image to try to fix manpage build.
Eric S. Raymond [Mon, 6 Feb 2023 21:36:59 +0000 (16:36 -0500)]
Experimental tweak of Docker image to try to fix manpage build.

21 months agoTypo fixes.
Eric S. Raymond [Mon, 6 Feb 2023 20:55:03 +0000 (15:55 -0500)]
Typo fixes.

2 years agoFix for GitLab issue #59.
Eric S. Raymond [Fri, 21 Oct 2022 15:21:58 +0000 (11:21 -0400)]
Fix for GitLab issue #59.

2 years agoAdd Patreon link.
Eric S. Raymond [Wed, 20 Apr 2022 15:59:26 +0000 (11:59 -0400)]
Add Patreon link.

2 years agoRemove ibsoletre constraint comment.
Eric S. Raymond [Wed, 20 Apr 2022 15:32:02 +0000 (11:32 -0400)]
Remove ibsoletre constraint comment.

I think it became obsolete when we factored out state-change messages.

2 years agoIn the grapher,add some room condition bits to clean up code.
Eric S. Raymond [Wed, 20 Apr 2022 12:27:30 +0000 (08:27 -0400)]
In the grapher,add some room condition bits to clean up code.

2 years agoIn the grapher, split forset from surface mode.
Eric S. Raymond [Wed, 20 Apr 2022 11:08:11 +0000 (07:08 -0400)]
In the grapher, split forset from surface mode.

2 years agopy;imt cleanup.
Eric S. Raymond [Wed, 20 Apr 2022 02:41:14 +0000 (22:41 -0400)]
py;imt cleanup.

2 years agoMore grapher improvement.
Eric S. Raymond [Wed, 20 Apr 2022 00:55:23 +0000 (20:55 -0400)]
More grapher improvement.

2 years agoAdd verbose optionm to grapher.
Eric S. Raymond [Wed, 20 Apr 2022 00:39:54 +0000 (20:39 -0400)]
Add verbose optionm to grapher.

2 years agoVarious grapher improvements.
Eric S. Raymond [Tue, 19 Apr 2022 21:51:10 +0000 (17:51 -0400)]
Various grapher improvements.

2 years agoMagic-number elimination.
Eric S. Raymond [Tue, 19 Apr 2022 21:07:46 +0000 (17:07 -0400)]
Magic-number elimination.

2 years agoCode cleanup.
Eric S. Raymond [Tue, 19 Apr 2022 20:26:43 +0000 (16:26 -0400)]
Code cleanup.

2 years agoImprove comments.
Eric S. Raymond [Mon, 18 Apr 2022 22:07:28 +0000 (18:07 -0400)]
Improve comments.

2 years agoDeclare the poject finished in the designer's notes.
Eric S. Raymond [Mon, 18 Apr 2022 20:41:13 +0000 (16:41 -0400)]
Declare the poject finished in the designer's notes.

2 years agoRemove the TODo, last iten about lamp image is obsolerte
Eric S. Raymond [Mon, 18 Apr 2022 20:18:43 +0000 (16:18 -0400)]
Remove the TODo, last iten about lamp image is obsolerte

* We are aware that the lamp currently used as the project logo is a
hurricane lamp, not a proper miner's lamp. Submissions of potential
replacement images would be welcome.
The deleted TODO said:

* We are aware that the lamp currently used as the project logo is a
  hurricane lamp, not a proper miner's lamp. Submissions of potential
  replacement images would be welcome.

Further research using an image search on the web reveals that there
have been miners' lamps thart visually resemble outr hurricane-lamp
images pretty closely,  so we can keep using it.

2 years agoDo full code validation before each release.
Eric S. Raymond [Mon, 18 Apr 2022 18:47:01 +0000 (14:47 -0400)]
Do full code validation before each release.

2 years agoNEWS update,
Eric S. Raymond [Mon, 18 Apr 2022 18:06:54 +0000 (14:06 -0400)]
NEWS update,

2 years agoRemove an issue about dropping the vase, the drop code doesn't change state.
Eric S. Raymond [Mon, 18 Apr 2022 17:57:29 +0000 (13:57 -0400)]
Remove an issue about dropping the vase, the drop code doesn't change state.

2 years agoDrop vase on pillow in well house and confirm that you get points for it.
Eric S. Raymond [Mon, 18 Apr 2022 16:40:09 +0000 (12:40 -0400)]
Drop vase on pillow in well house and confirm that you get points for it.

2 years agoNEWS update.
Eric S. Raymond [Mon, 18 Apr 2022 15:57:02 +0000 (11:57 -0400)]
NEWS update.

After re-reading the code, I have concluded that the objective of making it
more typeful can be abandoned. The tyings typefulness could give us are
largely achieved.

2 years agoIndent cleanup.
Eric S. Raymond [Mon, 18 Apr 2022 14:31:13 +0000 (10:31 -0400)]
Indent cleanup.

2 years agocppcheck cleanup.
Eric S. Raymond [Mon, 18 Apr 2022 14:24:11 +0000 (10:24 -0400)]
cppcheck cleanup.

2 years agoBase UNDEEP on the previiously unreferenced DEEP condition bit.
Eric S. Raymond [Mon, 18 Apr 2022 14:01:14 +0000 (10:01 -0400)]
Base UNDEEP on the previiously unreferenced DEEP condition bit.

Removes the only dependency on the order of locations left in the macros.

2 years agoTypo fix.
Eric S. Raymond [Thu, 14 Apr 2022 19:49:56 +0000 (15:49 -0400)]
Typo fix.

2 years agoReady to ship 1.11 1.11
Eric S. Raymond [Thu, 14 Apr 2022 18:38:50 +0000 (14:38 -0400)]
Ready to ship 1.11

2 years agopylint cleanup.
Eric S. Raymond [Thu, 14 Apr 2022 17:13:46 +0000 (13:13 -0400)]
pylint cleanup.

2 years agoReorganize and clean up test machinery.
Eric S. Raymond [Thu, 14 Apr 2022 16:27:15 +0000 (12:27 -0400)]
Reorganize and clean up test machinery.

2 years agoRevert Makefile changes that broke coverage testing for cheat.c
Eric S. Raymond [Thu, 14 Apr 2022 16:05:03 +0000 (12:05 -0400)]
Revert Makefile changes that broke coverage testing for cheat.c

2 years agoGrapher simplification.
Eric S. Raymond [Thu, 14 Apr 2022 11:53:35 +0000 (07:53 -0400)]
Grapher simplification.

2 years agoGraph mode for maze all different.
Eric S. Raymond [Thu, 14 Apr 2022 11:47:47 +0000 (07:47 -0400)]
Graph mode for maze all different.

2 years agoAdd logic for chasing forwarding limks to the graph maker.
Eric S. Raymond [Thu, 14 Apr 2022 02:31:46 +0000 (22:31 -0400)]
Add logic for chasing forwarding limks to the graph maker.

2 years agocppcheck cleanup.
Eric S. Raymond [Thu, 14 Apr 2022 00:55:57 +0000 (20:55 -0400)]
cppcheck cleanup.

2 years agoIntroduce and use matags in the YAML.
Eric S. Raymond [Wed, 13 Apr 2022 19:49:30 +0000 (15:49 -0400)]
Introduce and use matags in the YAML.

2 years agoInprove -m mapping.
Eric S. Raymond [Wed, 13 Apr 2022 19:20:26 +0000 (15:20 -0400)]
Inprove -m mapping.

2 years agoMapping improvements.
Eric S. Raymond [Wed, 13 Apr 2022 09:25:21 +0000 (05:25 -0400)]
Mapping improvements.

2 years agoAdd a test of resurrection logic.
Eric S. Raymond [Wed, 13 Apr 2022 08:38:41 +0000 (04:38 -0400)]
Add a test of resurrection logic.

2 years agoAdd test that dropping vase in tghe soft room does not break it.
Eric S. Raymond [Wed, 13 Apr 2022 08:23:28 +0000 (04:23 -0400)]
Add test that dropping vase in tghe soft room does not break it.

2 years agoNEWS update.
Eric S. Raymond [Wed, 13 Apr 2022 08:01:41 +0000 (04:01 -0400)]
NEWS update.

2 years agoSimplify the test machinery.
Eric S. Raymond [Wed, 13 Apr 2022 07:59:57 +0000 (03:59 -0400)]
Simplify the test machinery.

2 years agosavecheck only needs to be run for makiung coverage reports.
Eric S. Raymond [Wed, 13 Apr 2022 07:45:59 +0000 (03:45 -0400)]
savecheck only needs to be run for makiung coverage reports.

2 years agoSwitch normal regression testing to TAP output.
Eric S. Raymond [Wed, 13 Apr 2022 07:13:53 +0000 (03:13 -0400)]
Switch normal regression testing to TAP output.

2 years agoIntegrate multifile test into TAP sequence.
Eric S. Raymond [Wed, 13 Apr 2022 06:58:02 +0000 (02:58 -0400)]
Integrate multifile test into TAP sequence.

2 years agoMore steps towards TAP.
Eric S. Raymond [Wed, 13 Apr 2022 06:42:25 +0000 (02:42 -0400)]
More steps towards TAP.

2 years agoUpdate maxhinert for tap from reposurgeon...
Eric S. Raymond [Wed, 13 Apr 2022 03:23:48 +0000 (23:23 -0400)]
Update maxhinert for tap from reposurgeon...

...but it doesn't work yet.

2 years agoTake test coverage back to 100%
Eric S. Raymond [Wed, 13 Apr 2022 02:47:41 +0000 (22:47 -0400)]
Take test coverage back to 100%

2 years agoAnother test coverage improvement.
Eric S. Raymond [Wed, 13 Apr 2022 01:51:37 +0000 (21:51 -0400)]
Another test coverage improvement.

2 years agoAnother coverage improvement
Eric S. Raymond [Wed, 13 Apr 2022 01:24:42 +0000 (21:24 -0400)]
Another coverage improvement

2 years agoImprove YAML symbol coverage.
Eric S. Raymond [Wed, 13 Apr 2022 00:08:45 +0000 (20:08 -0400)]
Improve YAML symbol coverage.

2 years agoScratch a to-do item.
Eric S. Raymond [Tue, 12 Apr 2022 23:53:13 +0000 (19:53 -0400)]
Scratch a to-do item.

2 years agoFix bugs in coverage testing.
Eric S. Raymond [Tue, 12 Apr 2022 23:45:43 +0000 (19:45 -0400)]
Fix bugs in coverage testing.

2 years agoCoverage fixups.
Eric S. Raymond [Tue, 12 Apr 2022 15:27:07 +0000 (11:27 -0400)]
Coverage fixups.

2 years agoClean up warning and deprecation issues.
Eric S. Raymond [Tue, 12 Apr 2022 14:53:37 +0000 (10:53 -0400)]
Clean up warning and deprecation issues.

2 years agoImprove test coverage.
Eric S. Raymond [Thu, 7 Apr 2022 10:42:20 +0000 (06:42 -0400)]
Improve test coverage.

2 years agoAdd a coverage exclusion.
Eric S. Raymond [Thu, 7 Apr 2022 02:27:14 +0000 (22:27 -0400)]
Add a coverage exclusion.

2 years agoReady to ship 1.10. 1.10
Eric S. Raymond [Thu, 7 Apr 2022 00:02:07 +0000 (20:02 -0400)]
Ready to ship 1.10.

2 years agoImprove the maze graph.
Eric S. Raymond [Wed, 6 Apr 2022 23:11:09 +0000 (19:11 -0400)]
Improve the maze graph.

2 years agoNamespace splittiing to prune the maze graph. No eeffect on gameplay.
Eric S. Raymond [Wed, 6 Apr 2022 22:59:14 +0000 (18:59 -0400)]
Namespace splittiing to prune the maze graph. No eeffect on gameplay.

2 years agoProof of concept for dungeon graph maker.
Eric S. Raymond [Wed, 6 Apr 2022 21:47:57 +0000 (17:47 -0400)]
Proof of concept for dungeon graph maker.

2 years agoTypo fix.
Eric S. Raymond [Wed, 6 Apr 2022 19:48:06 +0000 (15:48 -0400)]
Typo fix.

2 years agoAdd a test for the isolated-foo case
Eric S. Raymond [Wed, 6 Apr 2022 18:54:43 +0000 (14:54 -0400)]
Add a test for the isolated-foo case

2 years agoSecond part of fix for "fee fie foe foo" and "fum", with test.
Eric S. Raymond [Wed, 6 Apr 2022 18:00:34 +0000 (14:00 -0400)]
Second part of fix for "fee fie foe foo" and "fum", with test.

2 years agoAddress GitLab issue #56: handling of "fee fie foe foo" and "fum"
Eric S. Raymond [Wed, 6 Apr 2022 17:43:08 +0000 (13:43 -0400)]
Address GitLab issue #56: handling of "fee fie foe foo" and "fum"

Also add a regression test for this.

2 years agoAdd test for correct listen behavior.
Eric S. Raymond [Wed, 6 Apr 2022 11:54:20 +0000 (07:54 -0400)]
Add test for correct listen behavior.

2 years agoAddress Gitlanb issue #54: listen command not showing all sounds
Eric S. Raymond [Wed, 6 Apr 2022 11:49:42 +0000 (07:49 -0400)]
Address Gitlanb issue #54: listen command not showing all sounds

2 years agoResolve Gitlab issue #55: in endgame, some object starting states are incorrect
Eric S. Raymond [Tue, 5 Apr 2022 23:20:21 +0000 (19:20 -0400)]
Resolve Gitlab issue #55: in endgame, some object starting states are incorrect

The uncaged status of the bird in the endagame doesn't seem worth the effort to fix it.

2 years agoFix issue #51: rug flying is broken
Eric S. Raymond [Tue, 5 Apr 2022 19:18:17 +0000 (15:18 -0400)]
Fix issue #51: rug flying is broken

And add a test for the fix.

2 years agoSupport execution of command script arguments.
Eric S. Raymond [Tue, 5 Apr 2022 12:31:10 +0000 (08:31 -0400)]
Support execution of command script arguments.

2 years agoAddress GitLab issue #53: inventory limit glitch in original game is not reproduced
Eric S. Raymond [Mon, 4 Apr 2022 22:08:50 +0000 (18:08 -0400)]
Address GitLab issue #53: inventory limit glitch in original game is not reproduced

It was actually a bit of a philosophical question whether I should try to make
this fix revertible with -o. I decided not to, as it's just something the user
may stumble over rather than being an edifying feature of the origiunal interface.

2 years agoAddress Gitlib issu #57: Resume can't open save file...
Eric S. Raymond [Mon, 4 Apr 2022 21:51:06 +0000 (17:51 -0400)]
Address Gitlib issu #57: Resume can't open save file...

...when auto-completed filename is followed by a space character.

3 years agoFix bad copypasta.
Eric S. Raymond [Mon, 15 Mar 2021 00:45:34 +0000 (20:45 -0400)]
Fix bad copypasta.

3 years agoExperimental steps towards TAP and test parallelization.
Eric S. Raymond [Wed, 10 Mar 2021 20:29:37 +0000 (15:29 -0500)]
Experimental steps towards TAP and test parallelization.