Commit graph

1260 commits

Author SHA1 Message Date
Eric S. Raymond
2858334845 History clarification. 2017-05-30 17:55:15 -04:00
David James Sherman
5c8276e2cb Advent doesn't need automake 2017-05-30 22:24:21 +02:00
David James Sherman
6b8c994876 Add .gitlab-ci.yml 2017-05-30 16:36:10 +00:00
Jason S. Ninneman
b3d6df3a8d Update reservoir test to reflect the magic word fix. 2017-05-29 14:41:15 -07:00
Jason S. Ninneman
650575394f Fix a bug in RNDVOC() that prevented the reservoir magic word for working.
To do this, I first had to refactor the code into proper C, just so I could understand it. Then I found another layer of encryption around the value itself. Finally, I discovered that the line to actually set the new magic word was placed such that it was using a global index instead of the local one.
2017-05-29 14:22:52 -07:00
Jason S. Ninneman
18eac9f55d Make RNDVOC() into better C. 2017-05-29 13:59:06 -07:00
Jason S. Ninneman
fda1abed97 Remove an obfuscation scheme for the reservoir magic word. 2017-05-29 13:34:34 -07:00
Jason S. Ninneman
1c74e6b22d gitignore the database compilation products. 2017-05-29 10:58:17 -07:00
Jason S. Ninneman
f5302b3b46 Don't build with two -std options. 2017-05-29 10:57:47 -07:00
Jason S. Ninneman
519d8f07e6 Really mean it about strict C99 compliance. 2017-05-29 09:30:37 -07:00
Eric S. Raymond
4beb21e08f Add a qualification. 2017-05-29 12:01:28 -04:00
Eric S. Raymond
878aa0e455 The ADVENTURE variable is no more. 2017-05-29 12:00:44 -04:00
Eric S. Raymond
270ecf8f02 Minor build tweaks. 2017-05-29 11:39:19 -04:00
Warren Melnick
7555c5354a Move the if for GCC 4 to an elseif so it does not interfere with MacOS 2017-05-29 10:52:51 -04:00
Warren Melnick
ae3c34084f Test for >= gcc 4, and change to g99 -std=gnu99 for the compiler if it is found. 2017-05-29 10:42:37 -04:00
Eric S. Raymond
bf0f604e34 Typo fixes. 2017-05-29 09:14:56 -04:00
Eric S. Raymond
24912b237c Update history.txt. 2017-05-29 09:08:44 -04:00
Eric S. Raymond
779a1cceae Don't assume gcc. 2017-05-29 09:02:12 -04:00
Eric S. Raymond
6facfe1588 MacOS port fix. 2017-05-29 09:02:12 -04:00
Jason S. Ninneman
d2ad61cbe1 Remove 'compile' upon 'make clean'.
Also remove a disused rule.
2017-05-28 22:53:03 -07:00
Eric S. Raymond
5ae76995d2 Simplify build: nested makefiles considered harmful. 2017-05-29 01:33:59 -04:00
Eric S. Raymond
7e82c2f910 Begin "Functional Changes" section. 2017-05-29 01:16:08 -04:00
Jason S. Ninneman
f0528b0ded Move database compilation out into its own tool (for now). 2017-05-28 21:46:54 -07:00
Jason S. Ninneman
d6b59a1c12 Apply further polish and add in a couple of missing size variables. 2017-05-28 17:21:04 -07:00
Jason S. Ninneman
df46df6979 Factor out handling of variables populated from the database.
This reorganization is a first step toward handling database compilation separately.
2017-05-28 15:42:05 -07:00
Eric S. Raymond
e0f160d313 Remove debris from the Makefile. 2017-05-28 13:55:41 -04:00
Eric S. Raymond
113a2a3e94 Add regression test that gets to reservoir.
This allows reproduction of the magic-word bug.
2017-05-28 13:53:59 -04:00
Jason S. Ninneman
1ea2c86641 Restory working seed value for dwarf.log. 2017-05-27 09:23:52 -07:00
Eric S. Raymond
c15a470a56 Restore regression tests. 2017-05-27 10:51:43 -04:00
Eric S. Raymond
4ab32f98a6 More Makefile simplification. 2017-05-27 10:32:11 -04:00
Eric S. Raymond
708d728bb5 Simplify the test makefile. 2017-05-27 10:31:16 -04:00
Eric S. Raymond
67b8d38f53 Correct a dependency. 2017-05-27 10:24:34 -04:00
Eric S. Raymond
6fdf1deccc Update the list of changes. 2017-05-27 10:17:18 -04:00
Jason S. Ninneman
f9eca41f3a Ensure the ZZZZ magic word is reproducible.
This happens by making the SEED command also regenerate the magic word.
2017-05-26 16:34:16 -07:00
Eric S. Raymond
f2043034e5 Use C99 moode of compiler. 2017-05-26 14:03:17 -04:00
Jason S. Ninneman
2270c6ad12 Just say no to encrypting internal state. 2017-05-26 10:21:19 -07:00
Eric S. Raymond
5c4fdc35eb Flush log on interrupt, just for convenience. 2017-05-26 07:22:24 -04:00
Eric S. Raymond
f5cd343fc6 Case correction. 2017-05-26 06:33:44 -04:00
Eric S. Raymond
e4f6bfc109 Death by dwarf test. 2017-05-26 06:16:16 -04:00
Eric S. Raymond
d2643712dd Fix bug that led to comments bnot being ignored. 2017-05-26 05:14:18 -04:00
NHOrus
df23b58032 Different, correct fix of tests
Now without caching .data and extended cleanup
2017-05-26 09:41:54 +03:00
Eric S. Raymond
196a9e1a49 Document test comment format. 2017-05-26 00:40:35 -04:00
Eric S. Raymond
53074fb1ea Regression-test machinery is now documented. 2017-05-26 00:37:24 -04:00
Eric S. Raymond
894724d1c8 First version of regression tests.
Only one test so far but the framework for more is in place.
2017-05-26 00:22:51 -04:00
Eric S. Raymond
7763e1aa22 Repeatable seeding is working. 2017-05-25 18:52:39 -04:00
Eric S. Raymond
79ef3e38c2 Implement fallback handler that looks at the raw command buffer.
With database cinpilation not broken this time...
2017-05-25 18:21:38 -04:00
Eric S. Raymond
76527321b5 Repair CentOS 6 build (fails due to clock_gettime() being undefined)
GitLab issue #2.
2017-05-25 09:09:11 -04:00
Jason S. Ninneman
580565e254 Stop command-logging from non-stdin sources. 2017-05-24 22:31:26 -07:00
Eric S. Raymond
6ba9a7de7f 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-05-24 23:36:25 -04:00
Eric S. Raymond
6146406990 Re-enable skipping of #-led comments. 2017-05-24 23:05:19 -04:00