Commit graph

126 commits

Author SHA1 Message Date
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
Eric S. Raymond
14c83ede8e Tweak formatting. 2017-06-17 12:13:20 -04:00
Eric S. Raymond
d587a5951b Experiment with reindenting. 2017-06-17 12:04:26 -04:00
Eric S. Raymond
51a88bec4d Address GitLab issue #11: trivial patch for macports/osx requirements 2017-06-17 01:22:08 -04:00
Bob Little
a73620cca5 Added dependency to newdb.h to make 'make -j' work 2017-06-16 22:17:40 -04:00
Eric S. Raymond
eaee02aa09 Squasgh -Wextra warnings. 2017-06-15 19:39:43 -04:00
Bob Little
c4c28e10db dungeon now outputs just database.h
Added macro DEFINE_GLOBALS_FROM_INCLUDES to main.c
Makefile no longer has to deal with database.c and database.o
2017-06-14 21:54:49 -04:00