Commit graph

  • 63f53c026d Macro elimination - easy cases first. No logic changes. Eric S. Raymond 2017-06-02 16:20:40 -04:00
  • d402e09411 Header consolidation - main.h, misc.h, and share.h merge to advent.h. Eric S. Raymond 2017-06-02 15:01:52 -04:00
  • 4209b82c5a Fix typo in COPYING. Jason S. Ninneman 2017-06-02 11:07:05 -07:00
  • e0ae1b84b8 Walktrough is accomplished. Eric S. Raymond 2017-06-02 14:06:43 -04:00
  • 5632f5eba4 Untangle gotos Peje Nilsson 2017-06-02 11:20:35 +02:00
  • 467a255653 Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) Michael Jarvis 2017-06-01 22:54:04 -05:00
  • c14c5952a7 Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS" Michael Jarvis 2017-06-01 22:52:26 -05:00
  • 44c444d638 added braces around initialization of subobjects for clarity Michael Jarvis 2017-06-01 22:47:47 -05:00
  • 092f478790 Cast size_t to long to silence warning Michael Jarvis 2017-06-01 22:45:31 -05:00
  • 2620bf922f Add explicit rule for compile to use CCFLAGS instead of CFLAGS Michael Jarvis 2017-06-01 22:45:24 -05:00
  • f373d87ba7 Hand merge of MR !31: Update the CI infrastructure to be faster Eric S. Raymond 2017-06-02 06:42:35 -04:00
  • 67d8c99e53 Added 428-point walkthrough to regression tests. Eric S. Raymond 2017-06-02 06:37:56 -04:00
  • cf4306fee8 Untangle gotos Peje Nilsson 2017-06-02 11:20:35 +02:00
  • 8b4fa2895c Update the CI infrastructure to be faster, and to build the man and HTML. Jason S. Ninneman 2017-06-01 14:56:44 -07:00
  • bcb3d1b583 Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) Michael Jarvis 2017-06-01 22:54:04 -05:00
  • 9ee98dec25 Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS" Michael Jarvis 2017-06-01 22:52:26 -05:00
  • 6f049d2c23 added braces around initialization of subobjects for clarity Michael Jarvis 2017-06-01 22:47:47 -05:00
  • 35172597d4 Cast size_t to long to silence warning Michael Jarvis 2017-06-01 22:45:31 -05:00
  • c29e30d25c Add explicit rule for compile to use CCFLAGS instead of CFLAGS Michael Jarvis 2017-06-01 22:45:24 -05:00
  • 40ccd3d80d use char, not signed char Michael Jarvis 2017-06-01 17:45:29 -05:00
  • dbe02a31a2 Add a walkthrough that foes nearly to endgame. Eric S. Raymond 2017-06-01 14:36:16 -04:00
  • 2483a23690 Test to ensure that the turn count penalties occur. Jason S. Ninneman 2017-05-31 13:36:36 -07:00
  • 2e5c6cf810 Simplify inclusion computation so it's BSD-friendly. Eric S. Raymond 2017-05-31 14:53:01 -04:00
  • b2c0107fed Metadata update. Eric S. Raymond 2017-05-31 14:34:32 -04:00
  • 9f0c1ad28f Merge remote-tracking branch 'upstream/master' into freebsd Nikolai Lifanov 2017-05-31 14:31:42 -04:00
  • 80bf70f0a6 Fix dependencies so parallel make works (issue #4). Jason S. Ninneman 2017-05-31 10:52:46 -07:00
  • 756bdec1d8 get rid of switching CC to c99 entirely Nikolai Lifanov 2017-05-31 13:20:18 -04:00
  • aacd3a5f8d Add a missing dependency. Eric S. Raymond 2017-05-31 13:08:23 -04:00
  • c9a14d1c38 play nice with build systems that specify their own CC Nikolai Lifanov 2017-05-31 13:04:58 -04:00
  • 73ce944bb2 only add -lrt on Linux Nikolai Lifanov 2017-05-31 13:01:53 -04:00
  • 77d2a1e5dd Add another test. Eric S. Raymond 2017-05-31 06:22:39 -04:00
  • c9ba5831c9 Remove erroneous comment about PRNG usage. Jason S. Ninneman 2017-05-30 17:19:01 -07:00
  • 6a6670e3ca Fix things so seed doesn't cost clock time. seed Eric S. Raymond 2017-05-30 20:08:55 -04:00
  • 6b6cfa37f1 Remove inventory commands from the pirare log - more hope of completing it. Eric S. Raymond 2017-05-30 19:59:38 -04:00
  • edc11a1f04 Replace 161-point partial walktgrough with 219-point (same base). Eric S. Raymond 2017-05-30 18:27:25 -04:00
  • 71fcc814f8 Launder seed generation through rand() to ensure seed diversity. Jason S. Ninneman 2017-05-30 11:06:53 -07:00
  • dfe04a58b6 Don's account of differences from the original. Eric S. Raymond 2017-05-30 17:47:26 -04:00
  • 2858334845 History clarification. Eric S. Raymond 2017-05-29 20:37:53 -04:00
  • 5c8276e2cb Advent doesn't need automake David James Sherman 2017-05-30 20:11:53 +00:00
  • 6b8c994876 Add .gitlab-ci.yml David James Sherman 2017-05-30 16:36:10 +00:00
  • b3d6df3a8d Update reservoir test to reflect the magic word fix. Jason S. Ninneman 2017-05-29 14:41:15 -07:00
  • 650575394f Fix a bug in RNDVOC() that prevented the reservoir magic word for working. Jason S. Ninneman 2017-05-29 14:22:52 -07:00
  • 18eac9f55d Make RNDVOC() into better C. Jason S. Ninneman 2017-05-29 13:59:06 -07:00
  • fda1abed97 Remove an obfuscation scheme for the reservoir magic word. Jason S. Ninneman 2017-05-29 13:34:34 -07:00
  • 1c74e6b22d gitignore the database compilation products. Jason S. Ninneman 2017-05-29 10:58:17 -07:00
  • f5302b3b46 Don't build with two -std options. Jason S. Ninneman 2017-05-29 10:57:47 -07:00
  • 519d8f07e6 Really mean it about strict C99 compliance. Jason S. Ninneman 2017-05-29 09:30:37 -07:00
  • 4beb21e08f Add a qualification. Eric S. Raymond 2017-05-29 12:01:28 -04:00
  • 878aa0e455 The ADVENTURE variable is no more. Eric S. Raymond 2017-05-29 12:00:44 -04:00
  • 270ecf8f02 Minor build tweaks. Eric S. Raymond 2017-05-29 11:39:19 -04:00
  • 7555c5354a Move the if for GCC 4 to an elseif so it does not interfere with MacOS Warren Melnick 2017-05-29 10:52:51 -04:00
  • ae3c34084f Test for >= gcc 4, and change to g99 -std=gnu99 for the compiler if it is found. Warren Melnick 2017-05-29 10:42:37 -04:00
  • bf0f604e34 Typo fixes. Eric S. Raymond 2017-05-29 09:14:56 -04:00
  • 24912b237c Update history.txt. Eric S. Raymond 2017-05-29 09:08:44 -04:00
  • 779a1cceae Don't assume gcc. Eric S. Raymond 2017-05-29 09:02:02 -04:00
  • 6facfe1588 MacOS port fix. Eric S. Raymond 2017-05-29 08:50:17 -04:00
  • 7113fbaa73 No librt on macOS Richard Reader 2017-05-29 10:32:40 +01:00
  • d2ad61cbe1 Remove 'compile' upon 'make clean'. Jason S. Ninneman 2017-05-28 22:53:03 -07:00
  • 5ae76995d2 Simplify build: nested makefiles considered harmful. Eric S. Raymond 2017-05-29 01:33:59 -04:00
  • d5cb72b589 Make make work by using PHONY. Jason S. Ninneman 2017-05-28 22:19:36 -07:00
  • 7e82c2f910 Begin "Functional Changes" section. Eric S. Raymond 2017-05-29 01:16:08 -04:00
  • f0528b0ded Move database compilation out into its own tool (for now). Jason S. Ninneman 2017-05-28 21:46:54 -07:00
  • d6b59a1c12 Apply further polish and add in a couple of missing size variables. Jason S. Ninneman 2017-05-28 17:21:04 -07:00
  • df46df6979 Factor out handling of variables populated from the database. Jason S. Ninneman 2017-05-28 15:42:05 -07:00
  • e0f160d313 Remove debris from the Makefile. Eric S. Raymond 2017-05-28 13:55:41 -04:00
  • 113a2a3e94 Add regression test that gets to reservoir. Eric S. Raymond 2017-05-28 13:53:59 -04:00
  • 1ea2c86641 Restory working seed value for dwarf.log. Jason S. Ninneman 2017-05-27 09:23:52 -07:00
  • c15a470a56 Restore regression tests. Eric S. Raymond 2017-05-27 10:51:43 -04:00
  • 4ab32f98a6 More Makefile simplification. Eric S. Raymond 2017-05-27 10:32:11 -04:00
  • 708d728bb5 Simplify the test makefile. Eric S. Raymond 2017-05-27 10:31:16 -04:00
  • 67b8d38f53 Correct a dependency. Eric S. Raymond 2017-05-27 10:24:34 -04:00
  • 6fdf1deccc Update the list of changes. Eric S. Raymond 2017-05-27 10:17:18 -04:00
  • f9eca41f3a Ensure the ZZZZ magic word is reproducible. Jason S. Ninneman 2017-05-26 16:34:16 -07:00
  • f2043034e5 Use C99 moode of compiler. Eric S. Raymond 2017-05-26 14:03:17 -04:00
  • 2270c6ad12 Just say no to encrypting internal state. Jason S. Ninneman 2017-05-26 10:21:19 -07:00
  • 5c4fdc35eb Flush log on interrupt, just for convenience. Eric S. Raymond 2017-05-26 07:22:24 -04:00
  • f5cd343fc6 Case correction. Eric S. Raymond 2017-05-26 06:33:44 -04:00
  • e4f6bfc109 Death by dwarf test. Eric S. Raymond 2017-05-26 06:16:16 -04:00
  • d2643712dd Fix bug that led to comments bnot being ignored. Eric S. Raymond 2017-05-26 05:14:18 -04:00
  • df23b58032 Different, correct fix of tests NHOrus 2017-05-26 09:41:54 +03:00
  • 3b9f29742f Fixed test suit: advent needs adventure.data or adventure.txt in current directory to run successfully NHOrus 2017-05-26 08:54:23 +03:00
  • 196a9e1a49 Document test comment format. Eric S. Raymond 2017-05-26 00:40:35 -04:00
  • 53074fb1ea Regression-test machinery is now documented. Eric S. Raymond 2017-05-26 00:37:24 -04:00
  • 894724d1c8 First version of regression tests. Eric S. Raymond 2017-05-26 00:22:51 -04:00
  • 7763e1aa22 Repeatable seeding is working. Eric S. Raymond 2017-05-25 18:52:39 -04:00
  • 79ef3e38c2 Implement fallback handler that looks at the raw command buffer. Eric S. Raymond 2017-05-25 18:21:38 -04:00
  • 76527321b5 Repair CentOS 6 build (fails due to clock_gettime() being undefined) Eric S. Raymond 2017-05-25 09:09:11 -04:00
  • 580565e254 Stop command-logging from non-stdin sources. Jason S. Ninneman 2017-05-24 22:31:26 -07:00
  • 6ba9a7de7f Once again, take srand()/random() out of the initialization chain. Eric S. Raymond 2017-05-24 23:36:25 -04:00
  • 6146406990 Re-enable skipping of #-led comments. Eric S. Raymond 2017-05-24 23:05:19 -04:00
  • 3a2c0ca199 Reapply "Clean up logic for exiting input loop and scoring." Eric S. Raymond 2017-05-24 22:51:36 -04:00
  • ba1369310d Remove disused label. Jason S. Ninneman 2017-05-24 15:43:34 -07:00
  • e3e01af7fa Remove cached data on clean. Eric S. Raymond 2017-05-24 18:29:26 -04:00
  • 31837249f8 Revert SEED handling and comment orocessing. It broke database compilation. Eric S. Raymond 2017-05-24 18:24:09 -04:00
  • 44e7ddc2ed Take srand()/rand() out of the initialization chain... Eric S. Raymond 2017-05-24 11:57:53 -04:00
  • c703bd78d9 Clean up logic for exiting input loop and scoring. Eric S. Raymond 2017-05-24 11:16:59 -04:00
  • 263b5ac3ba Allow comments in logfiles. Eric S. Raymond 2017-05-24 10:07:05 -04:00
  • cf219e920b Seed command fully implemented but apparently buggy. Eric S. Raymond 2017-05-24 09:06:41 -04:00
  • 65c081a0ac Implement stub handler for SEED command. Not hooked up to PRNG yet. Eric S. Raymond 2017-05-24 08:30:06 -04:00
  • 627144354c Remove a bad use of tv_nsec. Jason S. Ninneman 2017-05-23 23:46:20 -07:00