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
NHOrus
5697a8de63
Separate debugging of linenoise
2017-06-29 21:23:04 +03:00
Eric S. Raymond
da27ae1932
Transition to YAML is done, adventure.text and travel.py can go away.
2017-06-29 12:21:50 -04:00
Jason S. Ninneman
1ee0e5c7b0
Finish newdb -> dungeon renaming.
2017-06-29 08:54:55 -07:00
Jason S. Ninneman
074d2c8a0f
Remove MAPLIN(). Fold common.[ch] into other files and remove them.
2017-06-29 08:54:35 -07:00
Jason S. Ninneman
83fb64b5a8
Jettison MAKEWD(), GETTXT(), vocab(), GETIN(), and the old db compiler.
2017-06-29 08:54:35 -07:00
Aaron Traas
a434192373
Fixed automated testing
2017-06-29 10:16:41 -04:00
Aaron Traas
a4de450bfa
Add make target for coverage
2017-06-29 10:16:40 -04:00
Eric S. Raymond
289f72e078
Address GitLab issue #16 : make dist
produces incomplete tarball
2017-06-29 07:05:11 -04:00
Aaron Traas
6150e3be1f
Make clean now removes cheat binary
2017-06-28 17:30:46 -04:00
NHOrus
aca6d79087
Some more linter warnings
2017-06-28 15:09:05 -04:00