Commit graph

152 commits

Author SHA1 Message Date
Eric S. Raymond
7d848c89e1 Add spell-checking to the regression tests. 2025-05-25 11:06:46 -04:00
Eric S. Raymond
3e989aec53 Spellcheck the YAML - yielded one trivial fix. 2025-05-25 10:57:34 -04:00
Eric S. Raymond
cb293f4aa4 Rename some macos for clarity. 2024-06-30 14:48:44 -04:00
Eric S. Raymond
7903ac1bb8 More validation, with -Wall and -Wextra. 2024-06-03 21:12:41 -04:00
Eric S. Raymond
a2fa136988 Remove unused production. 2024-02-04 16:16:05 -05:00
Eric S. Raymond
43a08621e4 asciidoc -> asciidoctor. 2024-02-04 15:52:03 -05:00
Eric S. Raymond
f24fcd2971 Perform full code validation on every make check. 2024-02-04 12:48:33 -05:00
Eric S. Raymond
580f409ee6 At this revision, make cppcheck runs clean. 2024-02-04 11:44:04 -05:00
Eric S. Raymond
1ef39055f3 Make reflow run black. 2024-02-04 10:07:58 -05:00
Eric S. Raymond
be429016af 1TBS reflow with clang-format. 2024-01-28 08:09:39 -05:00
Eric S. Raymond
258b7703f2 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.
2024-01-28 07:14:46 -05:00
Eric S. Raymond
2582e240bd Fix defective copyright notices. 2024-01-02 09:46:09 -05:00
Torbjörn Andersson
b28eb66868 Spelling fixes. 2023-04-18 18:44:08 +02:00
Eric S. Raymond
9ff036d789 Make build with conditional compilation easier. 2023-04-14 06:16:29 -04:00
Eric S. Raymond
e1a528a4c5 Move NEWS file to asciidoc. 2023-04-05 21:48:02 -04:00
Eric S. Raymond
1ce4fc2ac3 Improve copyright lines. 2023-04-03 17:05:01 -04:00
Eric S. Raymond
25230068fe Partial REUSE cmpliance. 2023-04-03 11:25:11 -04:00
Eric S. Raymond
47c3d14a11 Comment polishing. 2023-03-12 17:14:18 -04:00
Eric S. Raymond
12d39ef72b Improve Makefile recipe for coverage testing. 2023-03-06 12:55:17 -05:00
Rob Swindell (on Debian Linux)
dfff80faa8 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).
2023-03-02 19:44:47 -08:00
Eric S. Raymond
3f34adad3b Move pylint suppressions inline. 2023-02-28 19:46:50 -05:00
Eric S. Raymond
750cfe36d8 Fix for GitLab issue #59. 2022-10-21 11:21:58 -04:00
Eric S. Raymond
baab09e3ab py;imt cleanup. 2022-04-19 22:41:14 -04:00
Eric S. Raymond
648deb4770 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.
2022-04-18 16:18:43 -04:00
Eric S. Raymond
f7d6884ded cppcheck cleanup. 2022-04-18 10:24:11 -04:00
Eric S. Raymond
dee8809e30 pylint cleanup. 2022-04-14 13:54:45 -04:00
Eric S. Raymond
8b8a3a73c4 Fix bugs in coverage testing. 2022-04-12 19:45:43 -04:00
Eric S. Raymond
865e10e6d0 Coverage fixups. 2022-04-12 11:27:07 -04:00
Eric S. Raymond
bb2b8e0fca Support execution of command script arguments. 2022-04-05 14:33:29 -04:00
Eric S. Raymond
b93d2d396f Tweak for Debian packaging. 2021-01-11 00:27:09 -05:00
Eric S. Raymond
cf64568f83 Make dungeon.[ch] depemdent on advent.h in case of save version bump. 2019-02-28 12:48:54 -05:00
Aaron Traas
e3b508536d Fix warning on macOS 2018-12-06 10:01:34 -05:00
Aaron Traas
ea3b456715 Makefile fix for macOS 10.14 2018-12-03 13:51:02 -05:00
NHOrus
5cdaa301dc Additional warnings
One of the two is fixed and GCC-exclusive, will cause more
warnings on Clang
2018-03-08 15:20:14 +03:00
Jason S. Ninneman
2ae60b85d1 Add INSTALL.adoc and templates/*.tpl to make recipes.
Fixes issues #38 and #39.
2017-08-02 14:01:39 -07:00
Jason S. Ninneman
ee7bacc9ec Use Fedora for the CI pipeline. 2017-07-17 13:56:52 -04:00
Jason S. Ninneman
f34df0b8a2 Use ASan and UBSan in debug builds. 2017-07-17 13:56:52 -04:00
Jason S. Ninneman
b736e3bc8e Deploy maximum "fortified source" and stack protection. 2017-07-17 13:56:52 -04:00
Jason S. Ninneman
007db7a729 Ensure cheat is built with debug options when 'make debug' is given. 2017-07-17 13:56:52 -04:00
Jason S. Ninneman
b8dd0eb904 Make the build Python-2/3 agnostic. 2017-07-11 23:14:39 +00:00
Eric S. Raymond
fcfc7c3b5c Add a code audit production using cppcheck. 2017-07-08 09:51:10 -04:00
Jason S. Ninneman
d23111daba Replace datime() with just time().
Also make the 'savetime' value meaningful.

This removes a separate library dependency on some systems.
2017-07-02 09:46:01 -07:00
NHOrus
634cd0f17f Make include of dependency platform-generic 2017-07-02 10:16:13 -04:00
Jason S. Ninneman
5fcebc66ae Move most build instructions into INSTALL.adoc. 2017-07-01 07:22:53 -07:00
Jason S. Ninneman
c69355f08a Update documentation about the libedit conversion. 2017-07-01 07:22:53 -07:00
Jason S. Ninneman
ad3b097c9e Replace linenoise with libedit in code and build. 2017-07-01 07:22:53 -07:00
NHOrus
b0705ba0bb Fix make debug check 2017-07-01 15:39:37 +03:00
Aaron Traas
31f27b672c Error message when you make if without retrieving git modules yet 2017-06-30 20:49:44 -04:00
Eric S. Raymond
e10637c419 Implement and document %V escape so version only needs to be set once. 2017-06-30 14:35:18 -04:00
Eric S. Raymond
645d00c711 Deduce version from NEWS. 2017-06-29 18:25:45 -04:00