Commit graph

202 commits

Author SHA1 Message Date
Eric S. Raymond
393010ec41 Entirely eliminate wd1x and wd2x members of the command block.
In the process, fix another case-smashing bug.
2017-07-03 16:49:33 -04:00
NHOrus
f52a78a1f8 Captured output of help and info commands
Can't believe it wasn't done before
2017-07-03 22:15:19 +03:00
Eric S. Raymond
a768555312 Use the raw buffer in tr command structure for editing.
This fixes some minor bugs. Unknown words are no longer truncated
nor uppercased on echo.
2017-07-03 12:52:28 -04:00
Eric S. Raymond
854e21a1af Remove a bad command from a check log.
It's interfering with a refactor, and pathological cases really
ought to be checked elsewhere.
2017-07-03 10:10:14 -04:00
Eric S. Raymond
f03bde268e Refactor tokenization to save raw tokens and use static buffer space...
...rather than dynamic storage.

As a side effect, this seems to have fixed a very ninor bug in the processing
of the bare word 'nothing'.  But I don't know where the bug was.  Not happy.
2017-07-03 08:53:10 -04:00
NHOrus
f8166fdb89 Visit room with breathtaking view
Try to extinguish a volcano
Closes #22
2017-07-03 07:30:53 +03:00
NHOrus
5613b0ce36 Unspk and streamline eat command 2017-07-03 06:07:57 +03:00
NHOrus
da78e7eb92 Wake dwarves differently 2017-07-03 05:41:49 +03:00
NHOrus
77a3616182 Cover branch last branch of bird action
And remove distracting line from tests
2017-07-03 05:30:46 +03:00
Aaron Traas
e10faf6edb Coverage -- attack bird after game closed 2017-07-02 22:08:45 -04:00
Aaron Traas
c8445a88d7 Coverage -- corner cases in lock and find 2017-07-02 21:53:28 -04:00
Aaron Traas
481d198d39 Coverage -- giant words 2017-07-02 21:42:42 -04:00
Aaron Traas
854b9b0abd Coverage -- intransitive attack 2017-07-02 21:42:42 -04:00
NHOrus
993194bd4d Undid unspeaking of wave, fixed test again.
Changed property math to helper function.
2017-07-03 00:47:17 +03:00
NHOrus
fbc80f0363 Unfalsify coverage check 2017-07-02 22:57:25 +03:00
NHOrus
c811512a82 More tests, multilined yaml 2017-07-02 15:16:50 -04:00
NHOrus
369c67840e Attack content and dead bear 2017-07-02 21:10:27 +03:00
Eric S. Raymond
708dd0fb4a Imprive coverage of cheat. 2017-07-02 13:57:01 -04:00
Aaron Traas
35f4af108d Coverage - attack sitting bear 2017-07-02 13:40:24 -04:00
Jason S. Ninneman
73278b1a3c Bump save file version number.
Also add missing space in the version mesage.
2017-07-02 09:55:53 -07:00
Aaron Traas
589a1c92ad Test coverage: intransitive lock 2017-07-02 12:52:17 -04:00
Aaron Traas
2d71fe8137 Add capabilities to cheat. Expand testing to cover. 2017-07-02 12:52:17 -04:00
Eric S. Raymond
fb8ba08986 Change VERSION_SKEW message - save file cersion is now...
...decoupled from program version.
2017-07-02 12:43:29 -04:00
NHOrus
29672a6447 Fixed logic, documented it in notes and tests 2017-07-02 17:50:42 +03:00
NHOrus
e91742e1b9 Fixed regression in #21 Cleaned up logic of light/extinguish 2017-07-02 10:16:13 -04:00
NHOrus
73af0e3a55 Fix for issue #21, hopefully 2017-07-02 10:16:13 -04:00
NHOrus
4c32714997 really capture it 2017-07-02 10:16:13 -04:00
NHOrus
8ec7c9d576 Capture current state of bugs, for #21 2017-07-02 10:16:13 -04:00
NHOrus
a5478639b6 Capture wonkyness of extinguishing urn 2017-07-02 10:16:13 -04:00
NHOrus
664b4cf4d7 more tests 2017-07-02 10:16:13 -04:00
NHOrus
e65132a108 Ability to use non-standard FreeBSD gcov tool 2017-07-02 10:16:13 -04:00
Aaron Traas
22a557efb1 Coverage -- version command 2017-07-02 02:22:52 -04:00
Aaron Traas
be115e9567 Fixed -r option. Added test to make sure it doesn't break later. 2017-07-02 01:36:28 -04:00
Eric S. Raymond
6c822610c5 Improve test coverage. 2017-07-01 23:51:24 -04:00
Eric S. Raymond
0d0b8df0a3 Ignore l g z i under oldstyle. 2017-07-01 12:35:31 -04:00
NHOrus
3c8482a613 Change state of vase
Clear temporary save where it needs to be cleared instead of random places
2017-07-01 18:25:39 +03:00
Jason S. Ninneman
dec4cf3968 Jettison the -s option.
It's no longer needed since libedit doesn't have the 'paste bug'.
2017-07-01 07:22:53 -07:00
NHOrus
562569f33c Putting cleanup in the right place, too 2017-07-01 15:39:37 +03:00
NHOrus
b0705ba0bb Fix make debug check 2017-07-01 15:39:37 +03:00
NHOrus
062840db69 Test modification for little more coverage 2017-06-30 23:26:18 -04:00
Eric S. Raymond
2c41018358 Improve test coverage. 2017-06-30 12:06:41 -04:00
Eric S. Raymond
1f45966dec Magic-number ellimination, contiguity warnings, cleanup. 2017-06-30 12:06:41 -04:00
NHOrus
a48e0ff30e Tests for misc and main 2017-06-30 18:30:19 +03:00
NHOrus
a6d1f9228b Fixed previous test, added nibble more 2017-06-30 18:05:41 +03:00
NHOrus
a0f5fa0e04 Last one test case 2017-06-30 12:27:11 +03:00
NHOrus
c1efa29510 Some more easy tests 2017-06-30 11:31:18 +03:00
Eric S. Raymond
4aa85d0068 Update illformed.chk for current YAML. 2017-06-29 18:27:14 -04:00
Aaron Traas
aa1dd666a9 Test coverage -- fix regression 2017-06-29 17:22:00 -04:00
Aaron Traas
d0a868bd4a Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -04:00
Aaron Traas
ffb8393985 Documentation and comment cleanup.
Also, renove uused enums.
2017-06-29 16:37:07 -04:00