Commit graph

136 commits

Author SHA1 Message Date
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
Eric S. Raymond
f38f286f39 Document build-time dependencies. 2017-06-14 17:12:00 -04:00
Jason S. Ninneman
be2ada4d93 Fix some Makefile glitches. 2017-06-14 13:54:37 -07:00
Jason S. Ninneman
88da6e72a5 Run python3 explicitly at build. 2017-06-14 13:54:37 -07:00
Jason S. Ninneman
60126c3dac Generate newdb.[ch] at build time, parallel with database.[ch].
Having two data compile jobs is a temporary situation. Eventually newdb.[ch] will supersede database.[ch].
2017-06-14 13:54:37 -07:00
Eric S. Raymond
7c9a0bfb36 Fix handling of intransitive "say". 2017-06-14 15:15:00 -04:00
Jason S. Ninneman
34621b054a Max out compiler warnings, and rearrange the debug build recipe. 2017-06-13 11:19:58 -07:00
Eric S. Raymond
1b167e5e72 New notes.adoc file; major documentation update. 2017-06-12 22:05:44 -04:00
Jason S. Ninneman
43032763cd Compile in the new (partial) database. 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
1173a9a265 Use a header/source set common to both advent and the dungeon builder. 2017-06-10 13:37:26 -07:00
Eric S. Raymond
9e8e0893dc Rewrite save/resume in idiomatic C. Savefile version bumped to 26. 2017-06-10 07:13:23 -04:00
Eric S. Raymond
3af993abca Isolate the grotty save/resume code. Most of it will soon go away. 2017-06-10 05:38:47 -04:00
Eric S. Raymond
dd9bbe1f00 Because (almost) everything is done in handlers now, merge the action files. 2017-06-09 08:54:03 -04:00
Eric S. Raymond
46cd836df0 Abolish funcs.h. 2017-06-08 04:25:20 -04:00
Eric S. Raymond
44639a9799 Repair linenoise build, add guidance to Makefile on getting it. 2017-06-08 03:38:18 -04:00
Jason S. Ninneman
955032bd24 Add database.o to the linker list. 2017-06-08 00:15:03 -07:00
Jason S. Ninneman
3674588968 Fix Makefile issue that broke 'make dist'. 2017-06-07 20:20:52 -07:00
Jason S. Ninneman
41265e020c Update Makefile for linenoise. 2017-06-07 20:19:24 -07:00
Eric S. Raymond
d657db5f4b Yet another parallel make attempt.
Credit to Bob Little.
2017-06-07 23:04:44 -04:00
Eric S. Raymond
3ba084480a Change name of dungeon maker - dual use of "compile" was confusing. 2017-06-07 06:47:01 -04:00
Eric S. Raymond
461575ef4c Bite the bullet - size siymbols have to be shared.
Otherwise we end up duplicating magic sizes and tey can drift apart.
2017-06-07 05:45:51 -04:00
Eric S. Raymond
31ecc4a8e3 Fix for parallel make. 2017-06-06 06:34:46 -04:00
Eric S. Raymond
738504d280 Properly include tests directory - must use find, not ls. 2017-06-06 06:18:09 -04:00
Eric S. Raymond
3da812fdf6 Address GitLab issue #8: make check breaks.
Include tests in the generated tarball.
2017-06-06 05:38:24 -04:00
Jason S. Ninneman
acc08b8a5c Get rid of tarballs with 'make clean'. 2017-06-05 14:06:30 -07:00
Eric S. Raymond
bc33b1f554 Prevent spurious pipeline failure on GitLab. 2017-06-05 15:22:59 -04:00
Eric S. Raymond
1b391ed6cc Restore Makefile productions needed for CI pipeline. 2017-06-05 14:27:58 -04:00
Eric S. Raymond
d1231f3953 Release preparation. 2017-06-05 14:06:39 -04:00
Jason S. Ninneman
afba06504a Update the pipeline to produce a tarball of the source upon every commit.
Unfortunately, it's not possible to preserve previous tarballs from run to run.
2017-06-04 17:13:28 -07:00
Eric S. Raymond
2f9d798574 Simplification. 2017-06-04 18:54:33 -04:00
Eric S. Raymond
fadb722c59 Typo fix. 2017-06-04 18:53:30 -04:00
Eric S. Raymond
a6b2602b83 Deal wuth GNU tar not being available in Alpine Linux. 2017-06-04 18:40:38 -04:00
Eric S. Raymond
b0fa3ad81c Removed bogus depenency of .h on .h. 2017-06-04 16:45:03 -04:00
Eric S. Raymond
495f4afbe0 Fix a slightly incorrect deoendency. 2017-06-04 16:40:35 -04:00
Eric S. Raymond
9b66a6511b Remove database.h from SOURCES list, it's generated. 2017-06-04 16:26:02 -04:00
Eric S. Raymond
0692b8a6ef Makefile and CI recipe YML rework. 2017-06-04 06:16:46 -04:00
Rémi Verschelde
51e868f591 Honor external CCFLAGS and LDFLAGS 2017-06-04 05:50:39 -04:00
Eric S. Raymond
0b4f19db45 Repair dist slightly broken by previous commit. 2017-06-04 05:50:39 -04:00
Rémi Verschelde
beb762735d Fix Makefile dist target. 2017-06-04 05:50:39 -04:00
Jason S. Ninneman
beb80ff521 Reconfigure the CI pipeline to deploy more static HTML content. 2017-06-03 17:55:57 -07:00
Eric S. Raymond
43aef9ceb1 Add html production for convenience generating the website. 2017-06-03 19:55:13 -04:00