Commit graph

1430 commits

Author SHA1 Message Date
Eric S. Raymond
5fb6e2e1bc Magic-number elimination. 2018-11-16 05:19:31 -05:00
Eric S. Raymond
c09e36ef8b Recover 100% test coverage. 2018-11-16 05:04:18 -05:00
Eric S. Raymond
09cd426443 Try to get that last line of coverage. 2018-11-15 19:56:01 -05:00
Eric S. Raymond
7991d007ac Choose a less obscure label name. 2018-11-15 14:03:20 -05:00
Eric S. Raymond
17e6078122 Remove some dead symbols revealed by coverage analysis. 2018-11-15 14:00:37 -05:00
Eric S. Raymond
31d561b470 Coverage improvement. Also, it's rude to die silently. 2018-11-15 13:55:10 -05:00
Eric S. Raymond
3ca9613bcd More coverage tweaks. 2018-11-15 13:33:16 -05:00
Eric S. Raymond
42c66160a7 Another coverage tweak. 2018-11-15 13:23:16 -05:00
Eric S. Raymond
5ce427b62b Another coverage tweak. 2018-11-15 12:40:04 -05:00
Eric S. Raymond
79875c8088 Tweak code-coverage exclusions. 2018-11-15 12:18:27 -05:00
Eric S. Raymond
ce5b694458 Ready for 1.6 release. 2018-11-15 12:18:27 -05:00
Eric S. Raymond
1a5d7c7013 Ready for 1.6 release. 2018-11-15 10:08:10 -05:00
Eric S. Raymond
0590c080ee Remove unneeded code. 2018-11-14 19:08:55 -05:00
Eric S. Raymond
7bb2cda986 typo fix. 2018-11-14 13:53:17 -05:00
Eric S. Raymond
438ddceda7 NEWS update. 2018-11-14 13:42:04 -05:00
Eric S. Raymond
75772cf006 Typo fixes from Horst H. von Brand. 2018-11-14 13:33:09 -05:00
Eric S. Raymond
e060b99baf Create regression test for issue #36. 2018-11-14 13:17:56 -05:00
Eric S. Raymond
7701642e0c Regression test for GitLab issue #37 fix. 2018-11-14 13:03:33 -05:00
Eric S. Raymond
a4c87aa0b3 Fix for GitLab issue #37: prompt incorrectly handled. 2018-11-14 13:01:39 -05:00
Eric S. Raymond
876fbb2f78 Prepare for sync with the issue #37 bugfix branch. 2018-11-14 11:52:55 -05:00
Eric S. Raymond
87452af448 Sync patch. 2018-11-14 11:43:38 -05:00
Eric S. Raymond
25765a1b0f Typo fix. 2018-11-12 04:19:54 -05:00
Javier
6d9481130b Fix typo in the NEWS file (2016 -> 2017) 2018-11-11 22:11:32 +00:00
Eric S. Raymond
b93d529487 Ready for 1.5 release. 2018-11-11 09:06:44 -05:00
Eric S. Raymond
d5d6a3e02d Handle a bare numeric token on the command line a bit more gracefully. 2018-11-11 09:05:03 -05:00
Eric S. Raymond
ac2dad44bc NEWS update. 2018-11-11 08:56:15 -05:00
Eric S. Raymond
8207199a33 Identify libedit better. 2018-11-11 08:37:15 -05:00
Eric S. Raymond
6e340dfd53 Fix some accidental test damage in Javier's last commit. 2018-11-11 08:02:21 -05:00
Javier
a782e19982 Patch 1 2018-11-11 12:56:03 +00:00
Eric S. Raymond
f01b3267c8 An attempt to fix GitLab issue #37 failed, but...
...update the condioned-out code to at least make sense with the
current versions of the data structures.
2018-03-11 23:47:43 -04:00
Eric S. Raymond
6de0149f9e Fix for GitLab issue #40: Inconsistant inventory space 2018-03-10 17:58:46 -05:00
Eric S. Raymond
782c5c3f29 SPDXify the code. 2018-03-08 20:56:21 -05:00
Eric S. Raymond
c0a4d55d6c History update. 2018-03-08 10:26:22 -05:00
Eric S. Raymond
37dc950dd6 Address GitLab issue #42. 2018-03-08 08:38:27 -05:00
Eric S. Raymond
88c734ceea Remove an unnecessary argument. 2018-03-08 08:36:37 -05:00
NHOrus
5cdaa301dc Additional warnings
One of the two is fixed and GCC-exclusive, will cause more
warnings on Clang
2018-03-08 15:20:14 +03:00
NHOrus
2787cb1413 Fix CI pipeline 2018-03-08 15:18:32 +03:00
Eric S. Raymond
d51238481a Typo fix. 2017-09-17 11:35:45 -04:00
NHOrus
5ff7592a51 Unlike objects, player doesn't go to -1 when destroyed.
Tighten bounds check.
2017-09-13 19:34:35 +03:00
NHOrus
db2daf1da4 Type constants to prevent overflow 2017-09-12 08:18:17 +03:00
NHOrus
076bb8908b If divident negative, then remainder is negative too.
RNG values need to be always positive.
Solution: Transposing positively by divisor. In all the two places it may happen.
2017-09-11 21:27:57 +03:00
NHOrus
4e4c2e0198 Be consistent 2017-09-11 00:58:13 +03:00
NHOrus
9e2cb3c191 Put some of important parameters into fixed width signed integers
Massaged test files. Fixes issue #41
2017-09-11 00:58:13 +03:00
NHOrus
43f0cb232b Silenced fallthrough warning 2017-09-05 18:32:56 +03:00
NHOrus
96ead306b5 Prevent RNG overflow.
Pass save under validation by pointer, so we could mess with underlying
values a little. Only thing I feel we can safely and sanely modify.
2017-09-05 18:20:21 +03:00
NHOrus
0dd40bba32 Removed old copy-paste error
Put numdie bounds check in croak to prevent OOB access on negative
numdie while preserving tests
2017-09-05 17:46:38 +03:00
NHOrus
e5a0c6e2b7 Prevent tampering with PRNG parameters in save 2017-08-24 14:48:02 +03:00
NHOrus
917af2e744 Fixed copy-paste errors 2017-08-24 14:41:21 +03:00
NHOrus
17d94c46cd Prevent division by zero 2017-08-24 14:25:29 +03:00
NHOrus
25424a01db Verify bounds for linked lists 2017-08-24 13:47:57 +03:00