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
Eric S. Raymond
d6cb6f0d8d
Create a cheater to test strange save/resume cases.
...
Patch due to Aaron Traas, but needed modification because of code
drift since submission.
2017-06-26 15:07:09 -04:00
Eric S. Raymond
64035d0026
More fixed limits (NOBJECTS, LOCSIZ) stop being fixed.
2017-06-24 10:18:33 -04:00
Eric S. Raymond
537c4511e2
Generate initializer from YAML for Section 9 bits.
2017-06-22 16:45:38 -04:00
Eric S. Raymond
ef100a3102
Publish more things on the website.
2017-06-19 13:21:15 -04:00
Jason S. Ninneman
0f3d3f735f
Reorganize debug build options.
...
* 'make advent' by itself can be considered the 'release' build.
* 'make debug' now does 'make linty'.
2017-06-18 21:11:06 -07:00
Bob Little
04eca720d9
magic numbers, show usage, fixed linty warnings
...
Show usage when using bad parameter with ./advent
Converted magic numbers to enums for BUG(). Also bug now shows
stringify'ed version of bug enumeration (not just a number).
2017-06-18 19:33:21 -04:00
Eric S. Raymond
f862f9f1d5
Improve test coverage.
2017-06-18 10:55:09 -04:00
NHOrus
a37e578f63
Compile switch to disable save and restore
2017-06-18 10:37:51 +03:00
Bob Little
d844c2a391
Added 'linty' target for make
...
"make linty" does lots of error checking while compiling.
Simplified the standard make's CFLAGS.
Cleaned up code to eliminate resulting warnings generated by "make linty".
2017-06-17 22:28:40 -04:00
Bob Little
a3485d2a41
Move a few prototypes and static'ed a few functions
...
Moved prototypes for initialise() and action() from main.c to advent.h
Made the following functions static, so they wouldn't require prototypes:
sig_handler (main.c)
spotted_by_pirate (main.c)
light (actions.c)
2017-06-17 18:19:09 -04:00