Eric S. Raymond
c726a2d8f2
Add a qualification.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
7949553703
The ADVENTURE variable is no more.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
1e3e6938b3
Minor build tweaks.
2017-06-13 20:43:42 +03:00
Warren Melnick
a7ba84a680
Move the if for GCC 4 to an elseif so it does not interfere with MacOS
2017-06-13 20:43:42 +03:00
Warren Melnick
99d61fa4aa
Test for >= gcc 4, and change to g99 -std=gnu99 for the compiler if it is found.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
2c97698e2e
Typo fixes.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
2d1532ffec
Update history.txt.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
2618af8319
Don't assume gcc.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
b4f9c2a86c
MacOS port fix.
2017-06-13 20:43:42 +03:00
Jason S. Ninneman
666b0c44f8
Remove 'compile' upon 'make clean'.
...
Also remove a disused rule.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
7bf56ac60e
Simplify build: nested makefiles considered harmful.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
a07af486cd
Begin "Functional Changes" section.
2017-06-13 20:43:42 +03:00
Jason S. Ninneman
0b02f361de
Move database compilation out into its own tool (for now).
2017-06-13 20:43:42 +03:00
Jason S. Ninneman
372fc1fbef
Apply further polish and add in a couple of missing size variables.
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
e281f895d4
Factor out handling of variables populated from the database.
...
This reorganization is a first step toward handling database compilation separately.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
c2faf8adea
Remove debris from the Makefile.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
4293aaa940
Add regression test that gets to reservoir.
...
This allows reproduction of the magic-word bug.
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
1668029186
Restory working seed value for dwarf.log.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
58f6494914
Restore regression tests.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
c626274637
More Makefile simplification.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
6cd0d930b2
Simplify the test makefile.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
9e5ac5a43e
Correct a dependency.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
e63aa7c86e
Update the list of changes.
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
6fb8265577
Ensure the ZZZZ magic word is reproducible.
...
This happens by making the SEED command also regenerate the magic word.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
6172ecb1af
Use C99 moode of compiler.
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
0064a4257e
Just say no to encrypting internal state.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
c88f981387
Flush log on interrupt, just for convenience.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
adeb54f6cb
Case correction.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
a2dc58de8d
Death by dwarf test.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
d96c66ac36
Fix bug that led to comments bnot being ignored.
2017-06-13 20:43:41 +03:00
NHOrus
b11fcf07e3
Different, correct fix of tests
...
Now without caching .data and extended cleanup
2017-06-13 20:43:41 +03:00
Eric S. Raymond
6ef28931b3
Document test comment format.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
0507307a32
Regression-test machinery is now documented.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
75c8df9225
First version of regression tests.
...
Only one test so far but the framework for more is in place.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
d9d2629854
Repeatable seeding is working.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
ff467f276b
Implement fallback handler that looks at the raw command buffer.
...
With database cinpilation not broken this time...
2017-06-13 20:43:41 +03:00
Eric S. Raymond
a408da3fed
Repair CentOS 6 build (fails due to clock_gettime() being undefined)
...
GitLab issue #2 .
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
000b97ff11
Stop command-logging from non-stdin sources.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
341bf61139
Once again, take srand()/random() out of the initialization chain.
...
They have exactly the wrong kind of randomness for this job - not
returning consistent sequences across different platforms or C library
versions, and because pseodorandom not really better than sampling
the clock.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
4d50cce210
Re-enable skipping of #-led comments.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
eb91f49dd5
Reapply "Clean up logic for exiting input loop and scoring."
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
cd0e90bdb4
Remove disused label.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
793c3fa1a4
Remove cached data on clean.
...
We've had two instances now of database compilation getting silently
broken and that not noticed because of the caching. Attempt to
forestall this.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
06795f691f
Revert SEED handling and comment orocessing. It broke database compilation.
...
This code is remarkably like the game it implements - a maze of twisty
little FORTRANisms, all alike. Very easy to get lost.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
bd64a4ceda
Take srand()/rand() out of the initialization chain...
...
...they're not guatanteed to produce consistent across platforms or
libc versions.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
9ef91255bc
Clean up logic for exiting input loop and scoring.
2017-06-13 20:43:40 +03:00
Eric S. Raymond
9407cd7bc3
Allow comments in logfiles.
2017-06-13 20:43:40 +03:00
Eric S. Raymond
016bcf2ff2
Seed command fully implemented but apparently buggy.
...
Dwarf appearance is not yet reproducible.
2017-06-13 20:43:40 +03:00
Eric S. Raymond
1c4150055a
Implement stub handler for SEED command. Not hooked up to PRNG yet.
2017-06-13 20:43:40 +03:00
Jason S. Ninneman
ebfa184a6c
Remove a bad use of tv_nsec.
2017-06-13 20:43:40 +03:00