Eric S. Raymond [Thu, 20 Jul 2017 14:53:15 +0000 (10:53 -0400)]
Remove unused variables.
Eric S. Raymond [Thu, 20 Jul 2017 14:47:33 +0000 (10:47 -0400)]
Fix Gitlab issue #30: Say is broken.
Eric S. Raymond [Thu, 20 Jul 2017 14:38:59 +0000 (10:38 -0400)]
Some vocabulary lookup code can be hidden from main.c.
Eric S. Raymond [Thu, 20 Jul 2017 14:36:22 +0000 (10:36 -0400)]
Last remnants of packing removed.
As a bonus, a bug in %S pluralization became obvious and was fixed.
Eric S. Raymond [Thu, 20 Jul 2017 14:15:39 +0000 (10:15 -0400)]
No more packing in the parser.
As a side effect, ill-formed input consisting of "_\n" gives
a slighty better error message.
Eric S. Raymond [Thu, 20 Jul 2017 14:13:15 +0000 (10:13 -0400)]
Remove unneeded vocabulary lookup.
Eric S. Raymond [Thu, 20 Jul 2017 13:50:58 +0000 (09:50 -0400)]
Eliminate last logic guard on a packed value.
Eric S. Raymond [Thu, 20 Jul 2017 13:11:13 +0000 (09:11 -0400)]
Remove a packing call - word buffer is good enough.
Eric S. Raymond [Thu, 20 Jul 2017 13:08:10 +0000 (09:08 -0400)]
Remove special-case code that was inducing bugs.
Eric S. Raymond [Thu, 20 Jul 2017 11:40:19 +0000 (07:40 -0400)]
Improved word type checking.
Eric S. Raymond [Thu, 20 Jul 2017 11:09:20 +0000 (07:09 -0400)]
Eliminate some uses of wd2 - tests can be done on raw2 buffer instead.
Eric S. Raymond [Thu, 20 Jul 2017 11:02:35 +0000 (07:02 -0400)]
Add some word-type checking where it's needed.
Eric S. Raymond [Thu, 20 Jul 2017 09:54:55 +0000 (05:54 -0400)]
Make compparuson out to TOKLEN only explicit in vocab lookups.
Eric S. Raymond [Wed, 19 Jul 2017 19:38:31 +0000 (15:38 -0400)]
Get symbol coverage on LOC_SMALLPIT
Eric S. Raymond [Wed, 19 Jul 2017 18:00:12 +0000 (14:00 -0400)]
Remove a test pair that seems to be duplicative.
Jason S. Ninneman [Wed, 19 Jul 2017 16:47:20 +0000 (09:47 -0700)]
Tell the compiler not to warn about legitimate case fallthroughs.
Eric S. Raymond [Mon, 17 Jul 2017 20:30:41 +0000 (16:30 -0400)]
Typo fix.
Eric S. Raymond [Mon, 17 Jul 2017 20:22:09 +0000 (16:22 -0400)]
Cover short descriotion of LOC_SMALLPIT.
Eric S. Raymond [Mon, 17 Jul 2017 18:28:40 +0000 (14:28 -0400)]
Record 100% code coverage.
NHOrus [Mon, 17 Jul 2017 17:12:16 +0000 (20:12 +0300)]
Step with debug compiling with Clang, to contrast with GCC
NHOrus [Mon, 17 Jul 2017 16:59:55 +0000 (19:59 +0300)]
No magic, revert some experimental changes in pipeline
NHOrus [Sun, 16 Jul 2017 04:43:56 +0000 (07:43 +0300)]
Use OpenSUSE in CI pipeline, instead
Jason S. Ninneman [Sat, 15 Jul 2017 03:45:19 +0000 (20:45 -0700)]
Use Fedora for the CI pipeline.
Jason S. Ninneman [Sat, 15 Jul 2017 03:19:54 +0000 (20:19 -0700)]
Use ASan and UBSan in debug builds.
Jason S. Ninneman [Sat, 15 Jul 2017 02:52:20 +0000 (19:52 -0700)]
Deploy maximum "fortified source" and stack protection.
Jason S. Ninneman [Sat, 15 Jul 2017 02:45:17 +0000 (19:45 -0700)]
Ensure cheat is built with debug options when 'make debug' is given.
Aaron Traas [Mon, 17 Jul 2017 15:56:19 +0000 (11:56 -0400)]
LOC_SMALLPIT.small and LOC_TOPSTALACTITE.small
Aaron Traas [Mon, 17 Jul 2017 14:57:13 +0000 (10:57 -0400)]
YAML coverage generator minor cleanup
Dr. Tobias Quathamer [Mon, 17 Jul 2017 14:19:34 +0000 (16:19 +0200)]
Add .desktop file for advent
Dr. Tobias Quathamer [Mon, 17 Jul 2017 14:13:43 +0000 (16:13 +0200)]
Add SVG file for advent icon
Eric S. Raymond [Mon, 17 Jul 2017 11:29:44 +0000 (07:29 -0400)]
Remove flawed code to drop batteries.
Eric S. Raymond [Mon, 17 Jul 2017 10:07:01 +0000 (06:07 -0400)]
Cover MISSING_BATTERIES in a test. Needs unducumented "waste" fallback.
Eric S. Raymond [Sun, 16 Jul 2017 21:23:40 +0000 (17:23 -0400)]
Prevent multiline string quotes from confusing Emacs.
Eric S. Raymond [Sun, 16 Jul 2017 20:05:26 +0000 (16:05 -0400)]
De-FORTRANIZE some IDs.
Eric S. Raymond [Sun, 16 Jul 2017 19:17:39 +0000 (15:17 -0400)]
Information hiding.
Jason S. Ninneman [Sun, 16 Jul 2017 19:14:23 +0000 (12:14 -0700)]
Discuss specials: in the adventure.yaml comments.
Eric S. Raymond [Sun, 16 Jul 2017 18:17:26 +0000 (14:17 -0400)]
Fix adventitious '' occurrences.
Eric S. Raymond [Sun, 16 Jul 2017 18:06:04 +0000 (14:06 -0400)]
Consolidare window1 test into bigfail.
Eric S. Raymond [Sun, 16 Jul 2017 17:05:34 +0000 (13:05 -0400)]
Test consolidation into bigfail.log.
Eric S. Raymond [Sun, 16 Jul 2017 13:23:40 +0000 (09:23 -0400)]
Extend bigfail test.
NHOrus [Sun, 16 Jul 2017 13:07:23 +0000 (16:07 +0300)]
Removed temporary variable for clarity; Upsized text buffer in fallback to maximum possible size
NHOrus [Sun, 16 Jul 2017 13:00:19 +0000 (16:00 +0300)]
Deal with more agressive gcov 7.1; Reindent
Aaron Traas [Sun, 16 Jul 2017 11:39:45 +0000 (07:39 -0400)]
Test consolidation
Aaron Traas [Sun, 16 Jul 2017 11:27:39 +0000 (07:27 -0400)]
YAML coverage generator minor cleanup
Aaron Traas [Sun, 16 Jul 2017 11:16:40 +0000 (07:16 -0400)]
Fixed YAML coverage generator in python3
Eric S. Raymond [Sun, 16 Jul 2017 11:48:37 +0000 (07:48 -0400)]
Fold smallpit test into bigfail.
Eric S. Raymond [Sun, 16 Jul 2017 11:13:06 +0000 (07:13 -0400)]
Fix bug where knife hit might not be reported.
Eric S. Raymond [Sun, 16 Jul 2017 10:26:51 +0000 (06:26 -0400)]
Test consolidation - move a lot of nonlethal failures into bigfail.log.
Eric S. Raymond [Sun, 16 Jul 2017 09:33:43 +0000 (05:33 -0400)]
Two coverage imprivenents, one by recognizing dead code.
Eric S. Raymond [Sun, 16 Jul 2017 09:08:03 +0000 (05:08 -0400)]
Apply state_change() to mirror object.
Eric S. Raymond [Sun, 16 Jul 2017 08:13:08 +0000 (04:13 -0400)]
More test consolidation.
Eric S. Raymond [Sun, 16 Jul 2017 08:00:33 +0000 (04:00 -0400)]
Test consolidation.
Eric S. Raymond [Sun, 16 Jul 2017 00:49:38 +0000 (20:49 -0400)]
Improve symbol coverage.
Aaron Traas [Sat, 15 Jul 2017 22:10:29 +0000 (18:10 -0400)]
YAML coverage - TROLL_BLOCKS arbitrary message
Aaron Traas [Sat, 15 Jul 2017 21:20:02 +0000 (17:20 -0400)]
Named unnamed actions and specials
Aaron Traas [Sat, 15 Jul 2017 21:19:29 +0000 (17:19 -0400)]
Full refactor of YAML dungeon generator.
The big difference is that the differences between the entity types
is concentrated in one place.
Also concentrated all File I/O in main function, moved most processing
outside of main
Aaron Traas [Sat, 15 Jul 2017 17:10:39 +0000 (13:10 -0400)]
First stage cleanup of YAML dungeon generator. Less hard-coded stuff.
Next stage will be rewrite so report object contains all of the keys
and coverage values, so we're not scribbling over DB all the time, and
we don't have to walk over things multiple times, and can keep HTML
generation in one place
Eric S. Raymond [Sat, 15 Jul 2017 17:00:48 +0000 (13:00 -0400)]
Improve symbol coverage.
Eric S. Raymond [Sat, 15 Jul 2017 09:05:59 +0000 (05:05 -0400)]
Documentation polishing.
Aaron Traas [Fri, 14 Jul 2017 17:06:44 +0000 (13:06 -0400)]
YAML coverage - last object message
Eric S. Raymond [Fri, 14 Jul 2017 17:10:13 +0000 (13:10 -0400)]
Code cleanup.
Eric S. Raymond [Fri, 14 Jul 2017 16:39:06 +0000 (12:39 -0400)]
Fix off-by-two bug.
Aaron Traas [Fri, 14 Jul 2017 15:39:54 +0000 (11:39 -0400)]
YAML coverage - object messages 100% covered
Jason S. Ninneman [Wed, 12 Jul 2017 21:32:46 +0000 (14:32 -0700)]
Replace some more wd? with id?.
Jason S. Ninneman [Wed, 12 Jul 2017 20:54:14 +0000 (13:54 -0700)]
Replace some uses of wd[12] with id[12].
Jason S. Ninneman [Wed, 12 Jul 2017 20:49:28 +0000 (13:49 -0700)]
Dragon attack code no longer edits the command struct.
This also fixes a minor bug where refusing to attack the dragon
costs the player two turns instead of one.
Jason S. Ninneman [Wed, 12 Jul 2017 19:10:00 +0000 (12:10 -0700)]
Handle word type and raw strings.
Jason S. Ninneman [Wed, 12 Jul 2017 18:17:12 +0000 (11:17 -0700)]
Use vocab IDs along side packed words.
Eric S. Raymond [Fri, 14 Jul 2017 16:00:29 +0000 (12:00 -0400)]
More coverage improvements.
Eric S. Raymond [Fri, 14 Jul 2017 15:33:22 +0000 (11:33 -0400)]
Partially address GitLab issue #27: arbitrary_messages unreachable
NHOrus [Fri, 14 Jul 2017 13:34:54 +0000 (16:34 +0300)]
Refactored discard to concentrate bird-related things in one place
NHOrus [Fri, 14 Jul 2017 13:02:52 +0000 (16:02 +0300)]
Refactored carry for clarity
NHOrus [Fri, 14 Jul 2017 12:40:59 +0000 (15:40 +0300)]
Do not base endgame bonus on arbitrary messages
This may break save files, but doesn't, due to padding
Aaron Traas [Fri, 14 Jul 2017 03:20:27 +0000 (23:20 -0400)]
YAML coverage - commented out unused arbitrary messages
Aaron Traas [Fri, 14 Jul 2017 03:16:24 +0000 (23:16 -0400)]
YAML coverage - all the listen messages
Aaron Traas [Thu, 13 Jul 2017 22:24:20 +0000 (18:24 -0400)]
YAML coverage - cleanup and comments
Aaron Traas [Thu, 13 Jul 2017 21:42:10 +0000 (17:42 -0400)]
YAML coverage - locations 100% covered
Aaron Traas [Thu, 13 Jul 2017 21:30:08 +0000 (17:30 -0400)]
YAML coverage - more locations and message
- LOC_DEADCRAWL
- CROSS_BRIDGE
- LOC_BOULDERS2.short
- LOC_WINDOW1
Aaron Traas [Thu, 13 Jul 2017 20:05:15 +0000 (16:05 -0400)]
YAML coverage - hints 100% covered
Aaron Traas [Thu, 13 Jul 2017 19:56:37 +0000 (15:56 -0400)]
YAML coverage parser bug fixed -- handling `\n` and `\t` correctly
Aaron Traas [Thu, 13 Jul 2017 19:10:26 +0000 (15:10 -0400)]
YAML coverage parser fixed to equate "NO_MESSAGE" with None
Aaron Traas [Thu, 13 Jul 2017 19:04:49 +0000 (15:04 -0400)]
adventure.yaml - coverage of all scoring class thresholds
Aaron Traas [Thu, 13 Jul 2017 18:44:55 +0000 (14:44 -0400)]
Prompt and taunt you after 3rd and final death
Fixed a bug where you'd not be asked about whether to be resurrected a
final time. Now you are.
NHOrus [Thu, 13 Jul 2017 17:44:18 +0000 (20:44 +0300)]
No spk remains in the code base
NHOrus [Thu, 13 Jul 2017 17:25:57 +0000 (20:25 +0300)]
Test that troll really retuns after we take eggs
NHOrus [Thu, 13 Jul 2017 17:20:11 +0000 (20:20 +0300)]
Removed unused code, reindented
Aaron Traas [Thu, 13 Jul 2017 16:24:52 +0000 (12:24 -0400)]
Expand scope of coverage_dungeon.py - actions and obituaries
Aaron Traas [Thu, 13 Jul 2017 15:50:51 +0000 (11:50 -0400)]
Expand scope of coverage_dungeon.py - specials
Aaron Traas [Wed, 12 Jul 2017 21:52:56 +0000 (17:52 -0400)]
Expand scope of coverage_dungeon.py
hints, classes and turn thrusholds are now supported
Eric S. Raymond [Wed, 12 Jul 2017 17:48:55 +0000 (13:48 -0400)]
Cosmetic text fix.
Jason S. Ninneman [Wed, 12 Jul 2017 00:44:06 +0000 (17:44 -0700)]
Express word type with an enum instead of magic numbers.
* Make a cleaner function for getting vocab metadata.
* Get rid of magic numbers.
* Purge get_vocab_id().
* Abolish the *_WORD() macros.
* Add FIXME comment on some ugliness.
Aaron Traas [Wed, 12 Jul 2017 12:56:50 +0000 (08:56 -0400)]
Forcing floating point division for % coverage, so we don't show 0%
Eric S. Raymond [Wed, 12 Jul 2017 09:24:12 +0000 (05:24 -0400)]
Remove obsolete comment.
Eric S. Raymond [Wed, 12 Jul 2017 09:11:03 +0000 (05:11 -0400)]
Remove obsolete caveat.
Eric S. Raymond [Wed, 12 Jul 2017 08:42:24 +0000 (04:42 -0400)]
In TODO, note some possible tests.
Eric S. Raymond [Wed, 12 Jul 2017 04:19:16 +0000 (00:19 -0400)]
Prevent game from uttering solecisms about the "floor" when outside.
Jason S. Ninneman [Tue, 11 Jul 2017 23:07:09 +0000 (16:07 -0700)]
Python-agnosticize coverage_dungeon.py.
Jason S. Ninneman [Tue, 11 Jul 2017 23:01:02 +0000 (16:01 -0700)]
Install Python 2 pip in Alpine.
Jason S. Ninneman [Tue, 11 Jul 2017 22:57:50 +0000 (15:57 -0700)]
Use Python 2 in Alpine Linux, because that's default.
Jason S. Ninneman [Tue, 11 Jul 2017 22:54:16 +0000 (15:54 -0700)]
Make the build Python-2/3 agnostic.