1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-02 23:14:57 +03:00
Commit graph

1299 commits

Author SHA1 Message Date
Graham Nelson 350ff14725 Renamed image to remove spurious space in filename 2022-04-19 12:15:22 +01:00
Graham Nelson 987d9708b1 Typos fixed 2022-04-19 11:16:03 +01:00
Graham Nelson bd38b92894 Added a line describing the April 2022 build 2022-04-19 11:04:58 +01:00
Graham Nelson 0d58d4898c Modernised Include (- ... -) syntax 2022-04-19 00:29:00 +01:00
Graham Nelson a1aa7642e9 Documented and rounded out some debugging features 2022-04-18 15:46:46 +01:00
Graham Nelson 38102a3653 Removed Vorple reference 2022-04-18 13:01:12 +01:00
Graham Nelson fc26489886 Removed Vorple as part of the main repository 2022-04-15 17:54:32 +01:00
Graham Nelson 5b8de72ef2 Fix for Mantis bug 1969 2022-04-15 10:35:28 +01:00
Graham Nelson 73fbe6c357
Merge pull request #1 from ptomato/linux-fixes
Linux fixes
2022-04-15 09:53:52 +01:00
Graham Nelson 72640a8ed9 Attempt at platform-independent random number generator for C output 2022-04-15 09:43:36 +01:00
Philip Chimento 51d7e99895 Fix case-sensitive filename errors
These filenames worked fine on case-insensitive file systems, but not on
a case-sensitive file system.
2022-04-14 22:41:12 -07:00
Philip Chimento e1266e4a5f Allow setting extra flags to "make" in Test Makes
When Make detects that it is running under another Make process, it prints
out "Entering directory ..." / "Leaving directory ..." messages which find
their way into the test log, and mess up the output. Normally the -s flag
is supposed to silence these messages, but it seems that GNU Make requires
an extra flag --no-print-directory here.

This sets up a global intest variable for Make flags, that is usually just
-s, but on Linux the extra flag is added.
2022-04-14 22:10:00 -07:00
Philip Chimento bd0a483b70 Declare i7_properties as extern
I guess this worked as written in Clang, but GCC interprets the
declaration without "extern" as a definition, meaning that the actual
definition later in inform7_clib.c counts as a double definition.
2022-04-14 22:10:00 -07:00
Philip Chimento 72a4cff31b Add build products of Test Makes to gitignore
These files are built, so should not show up as untracked files.
2022-04-14 22:10:00 -07:00
Philip Chimento c029af34ae Initialize kinds array
GCC warns that ka[1] is possibly being used without being initialized. As
far as I can tell from reading the loop, a1 > 0 here, and the elements of
ka are initialized up to a1-1, and ka[1] is never accessed if a1 == 1.

Nonetheless, rather than rewriting the loop so GCC can understand what's
going on, maybe it's better just to put an initializer here.
2022-04-14 22:10:00 -07:00
Philip Chimento 50d39679e9 Check for Q stack underflow when popping the R stack
GCC warns about this, since it can't rule out that Q_sp may be 0 at this
point. I haven't understood the code well enough to be certain, but it
can't hurt to guard against that case with an internal error anyway.
2022-04-14 22:10:00 -07:00
Philip Chimento 881ac66540 Add fall-through comments
GCC warns about switch statement fall-throughs unless they are annotated
with a /* fall through */ comment. Add one of these.

As for the other comment, GCC also has a slightly less strict mode that
understands the comment as long as it has the words "fall through"
somewhere in it. If we slightly tweak the wording of this comment, we can
use that mode to avoid the warning.
2022-04-14 22:10:00 -07:00
Philip Chimento f5bd4ff06c Add platform-dependent compiler settings for Linux 2022-04-14 22:10:00 -07:00
Graham Nelson 8d8db04e84 Compensating for change of random function in C 2022-04-15 00:19:18 +01:00
Graham Nelson ccedaace19
Merge pull request #2 from DavidKinder/master
Fixes for running tests on Windows
2022-04-14 23:38:22 +01:00
Graham Nelson 1a27a85710 Updated Parchment to v2022.4 2022-04-14 23:16:07 +01:00
Graham Nelson a2bc2c4767 Miscellaneous catching up 2022-04-14 23:14:14 +01:00
Graham Nelson 0f3fb2e2d2 Fix for Mantis bug 1750 2022-04-14 19:15:39 +01:00
Graham Nelson dad80cb0ae Fix for Mantis bug 1774 2022-04-14 18:24:37 +01:00
Graham Nelson b4a03dc194 Fix for Mantis bug 1776 2022-04-14 18:18:10 +01:00
Graham Nelson 1c71503617 Fix for Mantis bug 1782 2022-04-14 18:06:45 +01:00
David Kinder 39e8fdb8ec Use correct folder separators when constructing command to run intest 2022-04-14 14:39:12 +01:00
David Kinder d427813281
Merge branch 'ganelson:master' into master 2022-04-14 14:13:10 +01:00
Graham Nelson f824a92de7 Fix for Mantis bug 1819 2022-04-14 12:57:31 +01:00
Graham Nelson b1e7bd0fb9 Fix for Mantis bug 1820 2022-04-14 12:38:27 +01:00
Graham Nelson 6075e58575 Fix for Mantis bug 1821 2022-04-14 12:02:34 +01:00
Graham Nelson bb0508e7da Fix for Mantis bug 1822 2022-04-14 11:48:22 +01:00
Graham Nelson 8e077908d1 Fix for Mantis bug 1823 2022-04-14 11:12:44 +01:00
David Kinder cb209ebd41
Merge branch 'ganelson:master' into master 2022-04-14 11:07:39 +01:00
Graham Nelson ee21339940 Fix for Mantis bug 1828 2022-04-14 11:05:33 +01:00
David Kinder 2bc50bff34 Merge remote-tracking branch 'origin/master' 2022-04-14 10:10:31 +01:00
David Kinder 0103554eae
Merge branch 'ganelson:master' into master 2022-04-14 10:08:40 +01:00
David Kinder c88c9de7ce Get inter tests passing on Windows 2022-04-14 10:07:28 +01:00
Graham Nelson 2e5e6f1409 Bug fix to do with unopposed directions 2022-04-14 10:05:56 +01:00
Graham Nelson 8776b2d142 Fix for Mantis bug 1841 2022-04-14 09:59:35 +01:00
Graham Nelson fcb3dbec7e Fix for Mantis bug 1844 2022-04-14 09:41:30 +01:00
David Kinder 07be45ff10
Merge branch 'ganelson:master' into master 2022-04-14 07:20:01 +01:00
Graham Nelson 15976401ec Minor debugging log changes to avoid compiler warnings 2022-04-13 23:43:02 +01:00
Graham Nelson 2e55bfa0b0 Probably fix for word assemblage annotation crash 2022-04-13 22:32:57 +01:00
Graham Nelson cdb2b8a809 Fix for Mantis bug 1846 2022-04-13 22:09:08 +01:00
David Kinder 899e3dda98 Make random()/rand() change in CWeb source 2022-04-13 21:52:12 +01:00
David Kinder 9e5d74317c Add Windows compiler settings and ability to set a suffix for executable filenames 2022-04-13 20:28:41 +01:00
David Kinder fbfc40b6fd Use ANSI functions rand() and srand(), rather than POSIX random() and srandom() 2022-04-13 20:27:56 +01:00
Graham Nelson bd758b35fc Fix for Mantis bug 1847 2022-04-13 19:43:16 +01:00
Graham Nelson 64cb491307 Fix for Mantis bug 1850 2022-04-13 19:21:21 +01:00