Eric S. Raymond [Mon, 23 Sep 2024 03:32:23 +0000 (23:32 -0400)]
Back away from trying for the found member until we make stashed work.
Eric S. Raymond [Mon, 23 Sep 2024 03:09:16 +0000 (23:09 -0400)]
Confine uses of PROP_STASHIFY() to advent.h
Now it shouyld be possible to manipulate a stashed flag by only
changing macros.
Eric S. Raymond [Mon, 23 Sep 2024 02:34:07 +0000 (22:34 -0400)]
Introduce OBJECT_STASHIFY.
Eric S. Raymond [Mon, 23 Sep 2024 02:21:47 +0000 (22:21 -0400)]
Remove an unneeded layer of macro indirection.
Eric S. Raymond [Mon, 23 Sep 2024 02:06:02 +0000 (22:06 -0400)]
Clean up some comments.
Eric S. Raymond [Sun, 22 Sep 2024 17:08:31 +0000 (13:08 -0400)]
Reflow.
Eric S. Raymond [Sat, 21 Sep 2024 02:19:14 +0000 (22:19 -0400)]
Typo fix.
Eric S. Raymond [Sat, 21 Sep 2024 02:05:25 +0000 (22:05 -0400)]
Avoid a GNUism, POSIX strncasecmp() is declarted in strings.h.
Eric S. Raymond [Sat, 21 Sep 2024 02:04:16 +0000 (22:04 -0400)]
Define TRUNCLEN and explain its issues.
Eric S. Raymond [Fri, 20 Sep 2024 14:49:44 +0000 (10:49 -0400)]
Repair truncation in oldstyle mode.
Sure would be nice to remember while this code had TOKEN + TOKEN
where one would think it should just say TOKEN.
Eric S. Raymond [Fri, 20 Sep 2024 14:40:22 +0000 (10:40 -0400)]
Fix a busted comment.
Eric S. Raymond [Fri, 20 Sep 2024 14:29:37 +0000 (10:29 -0400)]
Make oldstyle correctly suppress line editing.
Eric S. Raymond [Fri, 20 Sep 2024 14:03:15 +0000 (10:03 -0400)]
Correct missing negative.
Eric S. Raymond [Sun, 30 Jun 2024 21:20:46 +0000 (17:20 -0400)]
Remove obsolete comment part.
Eric S. Raymond [Sun, 30 Jun 2024 18:42:06 +0000 (14:42 -0400)]
Rename some macos for clarity.
Eric S. Raymond [Thu, 27 Jun 2024 23:50:56 +0000 (19:50 -0400)]
Cease relying on C storage starting zeroed.
Eric S. Raymond [Thu, 27 Jun 2024 17:39:27 +0000 (13:39 -0400)]
Ready to shp 1.19.
Eric S. Raymond [Thu, 27 Jun 2024 17:29:28 +0000 (13:29 -0400)]
Comment typo fix.
Eric S. Raymond [Thu, 27 Jun 2024 17:04:33 +0000 (13:04 -0400)]
Verify that tesrts still match advent430 where expected.
Eric S. Raymond [Tue, 25 Jun 2024 17:23:21 +0000 (13:23 -0400)]
Fix GitLab issue #69: repeated knive caveat message
Eric S. Raymond [Tue, 25 Jun 2024 17:08:50 +0000 (13:08 -0400)]
Incorporate Ryan Sarson's test for correct knife message.
Eric S. Raymond [Tue, 4 Jun 2024 01:12:41 +0000 (21:12 -0400)]
More validation, with -Wall and -Wextra.
Eric S. Raymond [Mon, 29 Apr 2024 15:43:41 +0000 (11:43 -0400)]
Typo fix.
Eric S. Raymond [Thu, 15 Feb 2024 17:56:01 +0000 (12:56 -0500)]
Reissue 1.18 - same code, corrected metadata.
Eric S. Raymond [Mon, 5 Feb 2024 13:07:31 +0000 (08:07 -0500)]
Improve the project summary.
Eric S. Raymond [Mon, 5 Feb 2024 12:51:00 +0000 (07:51 -0500)]
Ubuntu-discuss doesn't want to see release notifications.
Eric S. Raymond [Mon, 5 Feb 2024 12:47:01 +0000 (07:47 -0500)]
Ready to ship 1.18.
Eric S. Raymond [Mon, 5 Feb 2024 12:43:23 +0000 (07:43 -0500)]
Documentation polishing.
Eric S. Raymond [Sun, 4 Feb 2024 21:46:43 +0000 (16:46 -0500)]
Add a detail to the installation instructiions.
Eric S. Raymond [Sun, 4 Feb 2024 21:16:05 +0000 (16:16 -0500)]
Remove unused production.
Eric S. Raymond [Sun, 4 Feb 2024 20:52:03 +0000 (15:52 -0500)]
asciidoc -> asciidoctor.
Eric S. Raymond [Sun, 4 Feb 2024 17:48:33 +0000 (12:48 -0500)]
Perform full code validation on every make check.
Eric S. Raymond [Sun, 4 Feb 2024 16:44:04 +0000 (11:44 -0500)]
At this revision, make cppcheck runs clean.
Eric S. Raymond [Sun, 4 Feb 2024 16:43:36 +0000 (11:43 -0500)]
Minor repair of savefile validation code.
Eric S. Raymond [Sun, 4 Feb 2024 15:07:58 +0000 (10:07 -0500)]
Make reflow run black.
Eric S. Raymond [Mon, 29 Jan 2024 17:14:56 +0000 (12:14 -0500)]
1TBS reflow, the bracening.
Eric S. Raymond [Sat, 27 Jan 2024 11:17:02 +0000 (06:17 -0500)]
1TBS reflow with clang-format.
Eric S. Raymond [Sun, 28 Jan 2024 12:11:21 +0000 (07:11 -0500)]
Place1TBS mandatory braces.
Eric S. Raymond [Sun, 28 Jan 2024 10:55:33 +0000 (05:55 -0500)]
Simplify SPDX copyright lines to the shortest canonical form...
...because if we leave them longer than 80 chars, reflow is going to
mess them up.
Eric S. Raymond [Mon, 15 Jan 2024 10:10:46 +0000 (05:10 -0500)]
Typo fix.
Eric S. Raymond [Mon, 15 Jan 2024 10:03:53 +0000 (05:03 -0500)]
Update tapview and tapdiffer.
Eric S. Raymond [Mon, 15 Jan 2024 09:58:21 +0000 (04:58 -0500)]
Fix SPDX headers.
Eric S. Raymond [Mon, 15 Jan 2024 09:57:47 +0000 (04:57 -0500)]
Remove debugging debris.
Eric S. Raymond [Wed, 3 Jan 2024 11:30:40 +0000 (06:30 -0500)]
Fix up copyright notices. SPDX wants only one per file.
Eric S. Raymond [Wed, 3 Jan 2024 11:15:04 +0000 (06:15 -0500)]
Simplify some dependencies.
Eric S. Raymond [Wed, 3 Jan 2024 10:55:57 +0000 (05:55 -0500)]
Reduce include complexity.
Eric S. Raymond [Wed, 3 Jan 2024 02:50:21 +0000 (21:50 -0500)]
Ready to ship 1.17.
Eric S. Raymond [Wed, 3 Jan 2024 02:52:59 +0000 (21:52 -0500)]
pylint cleanup.
Eric S. Raymond [Tue, 2 Jan 2024 22:19:42 +0000 (17:19 -0500)]
Corrected fix, and test, for #67.
Eric S. Raymond [Tue, 2 Jan 2024 21:57:15 +0000 (16:57 -0500)]
Add -a option to synopsis.
Eric S. Raymond [Tue, 2 Jan 2024 21:38:59 +0000 (16:38 -0500)]
NEWS update.
Eric S. Raymond [Tue, 2 Jan 2024 21:34:54 +0000 (16:34 -0500)]
Better explanation of backwards compatibility with 4.30.
Eric S. Raymond [Tue, 2 Jan 2024 21:03:30 +0000 (16:03 -0500)]
Commit a test script.
Eric S. Raymond [Tue, 2 Jan 2024 15:32:23 +0000 (10:32 -0500)]
Initialize dwarf locations in YAML, not C.
Minimizes magic numbers.
Eric S. Raymond [Tue, 2 Jan 2024 15:42:11 +0000 (10:42 -0500)]
Address GitLab issue #67: saying Z'ZZZ at the reservoir causes the water to part/crash together
Eric S. Raymond [Tue, 2 Jan 2024 14:46:09 +0000 (09:46 -0500)]
Fix defective copyright notices.
Eric S. Raymond [Tue, 2 Jan 2024 14:28:39 +0000 (09:28 -0500)]
Typo fix.
Nicola Smaniotto [Mon, 27 Nov 2023 16:41:26 +0000 (17:41 +0100)]
saveresume.c: add missing semicolon
Fixes compilation when ADVENT_NOSAVE is set
Eric S. Raymond [Sun, 17 Sep 2023 20:17:30 +0000 (16:17 -0400)]
Apply black to move Python style to standard form.
Eric S. Raymond [Tue, 18 Apr 2023 12:56:44 +0000 (08:56 -0400)]
Comment polishing.
Torbjörn Andersson [Tue, 18 Apr 2023 16:44:08 +0000 (18:44 +0200)]
Spelling fixes.
Eric S. Raymond [Tue, 18 Apr 2023 12:02:14 +0000 (08:02 -0400)]
Comment rtpo fix.
Eric S. Raymond [Tue, 18 Apr 2023 11:51:55 +0000 (07:51 -0400)]
Add some map tags.
Eric S. Raymond [Mon, 17 Apr 2023 13:19:26 +0000 (09:19 -0400)]
Add exolanatory comment.
Eric S. Raymond [Mon, 17 Apr 2023 11:24:51 +0000 (07:24 -0400)]
Use fixed-lwength types to make the save format more portable
Eric S. Raymond [Mon, 17 Apr 2023 11:06:56 +0000 (07:06 -0400)]
Remove unnecessary code duplication.
Eric S. Raymond [Sat, 15 Apr 2023 18:44:20 +0000 (14:44 -0400)]
Ready to ship 1.16.
Eric S. Raymond [Sat, 15 Apr 2023 14:00:23 +0000 (10:00 -0400)]
Comment polishing.
Eric S. Raymond [Sat, 15 Apr 2023 13:29:28 +0000 (09:29 -0400)]
Improve state-macro encapsulation.
Eric S. Raymond [Sat, 15 Apr 2023 10:29:59 +0000 (06:29 -0400)]
Add explanatory comments.
Eric S. Raymond [Fri, 14 Apr 2023 12:13:24 +0000 (08:13 -0400)]
Simplify initialization code. All tests pass, 100% coverage.
Eric S. Raymond [Fri, 14 Apr 2023 10:16:29 +0000 (06:16 -0400)]
Make build with conditional compilation easier.
Eric S. Raymond [Mon, 10 Apr 2023 22:33:36 +0000 (18:33 -0400)]
Remove a remnant line number.
Eric S. Raymond [Mon, 10 Apr 2023 14:28:18 +0000 (10:28 -0400)]
Magic-number elimination.
Eric S. Raymond [Mon, 10 Apr 2023 22:46:47 +0000 (18:46 -0400)]
Condition in alternative state-management macros.
These do not entirely work yet. #define FOUNDBOOL to enable them.
All tests pass, 100% coverage.
Eric S. Raymond [Sun, 9 Apr 2023 02:53:06 +0000 (22:53 -0400)]
Confine use of STATE_NOTFOUND to macros.
Eric S. Raymond [Sun, 9 Apr 2023 01:17:55 +0000 (21:17 -0400)]
Turn an odd test into a macro disjunction.
Was game.objects[i].prop > STATE_NOTFOUND.
This finishes off all the statec comparisons we want to macroize.
Eric S. Raymond [Sun, 9 Apr 2023 00:20:36 +0000 (20:20 -0400)]
More nontrivial macro abstraction of state checks.
game.prop < 0 becomes an alternation of macros.
Eric S. Raymond [Sun, 9 Apr 2023 00:02:27 +0000 (20:02 -0400)]
First nontrivial replacement of object state test by macro.
Test was game.objects[i].prop >= 0, but we know that state -1
(STATE_NOTFOUND) can't occiur here because the object is in
a lit room.
Eric S. Raymond [Fri, 7 Apr 2023 20:11:04 +0000 (16:11 -0400)]
Encapsulate object-state state tests and setttings in macros.
This isn't a complete refwctoring, just the part than can be done with
transparetly correct capture of inlinre logic into macros.
No logic changes. Tests pass, 100% coverage.
Eric S. Raymond [Fri, 7 Apr 2023 17:19:51 +0000 (13:19 -0400)]
Refactor put() function and calls.
Eric S. Raymond [Fri, 7 Apr 2023 17:09:57 +0000 (13:09 -0400)]
Remove unneeded use of put().
Eric S. Raymond [Fri, 7 Apr 2023 16:33:52 +0000 (12:33 -0400)]
Add test for behavior of stashed objects in endgame.
Eric S. Raymond [Fri, 7 Apr 2023 14:52:16 +0000 (10:52 -0400)]
Structurization of hints.
Eric S. Raymond [Fri, 7 Apr 2023 13:51:49 +0000 (09:51 -0400)]
Structurize object info.
Eric S. Raymond [Fri, 7 Apr 2023 13:30:33 +0000 (09:30 -0400)]
Structurize locatiuon info.
Eric S. Raymond [Fri, 7 Apr 2023 13:15:20 +0000 (09:15 -0400)]
Structurize the informaruin about dwarves.
Eric S. Raymond [Fri, 7 Apr 2023 12:18:50 +0000 (08:18 -0400)]
Apply loc_t type.
Eric S. Raymond [Fri, 7 Apr 2023 11:35:28 +0000 (07:35 -0400)]
Boolification.
Torbjörn Andersson [Mon, 3 Apr 2023 17:05:58 +0000 (19:05 +0200)]
Spelling fixes.
Eric S. Raymond [Fri, 7 Apr 2023 01:29:39 +0000 (21:29 -0400)]
Fix some screwy formatting of conditionals...
...probably by the original FOTRAN-to-C translator.
Eric S. Raymond [Fri, 7 Apr 2023 01:01:48 +0000 (21:01 -0400)]
Comment typo fixes.
Eric S. Raymond [Thu, 6 Apr 2023 23:57:05 +0000 (19:57 -0400)]
In notes.adoc, update the new-features list and credits.
Eric S. Raymond [Thu, 6 Apr 2023 23:35:56 +0000 (19:35 -0400)]
Resume now detects if a save has incompatible endianness.
Eric S. Raymond [Thu, 6 Apr 2023 23:26:04 +0000 (19:26 -0400)]
Simplify the signature of savefile().
Eric S. Raymond [Thu, 6 Apr 2023 23:03:02 +0000 (19:03 -0400)]
Implement the magic-cookie check and its test.
Eric S. Raymond [Thu, 6 Apr 2023 21:54:02 +0000 (17:54 -0400)]
Give savefiles an identifting header. SAve format version gets bumped.
Eric S. Raymond [Thu, 6 Apr 2023 21:44:11 +0000 (17:44 -0400)]
Refactoring step - change some visibilities.
Eric S. Raymond [Thu, 6 Apr 2023 21:28:43 +0000 (17:28 -0400)]
Quiet make test down.
Eric S. Raymond [Thu, 6 Apr 2023 20:38:21 +0000 (16:38 -0400)]
Simplify and speed up testing.