1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00
Commit graph

1420 commits

Author SHA1 Message Date
Graham Nelson 002a48dc9f Accidentally missed 2022-04-26 13:08:42 +01:00
Graham Nelson 4f869b386a Removed some undefined behaviour from the C code 2022-04-26 13:07:34 +01:00
Graham Nelson 99c7394e81 Modernised inform.mkscript 2022-04-25 16:44:43 +01:00
Graham Nelson e25b49212e Migrated the eight EgN-C test cases to use makescripts 2022-04-24 23:46:22 +01:00
Graham Nelson 229e604b52 Stopped inform.mkscript from compiling Inform 6 multiple times on "make force" 2022-04-24 12:38:35 +01:00
Graham Nelson 35ebd18c8a Fix for Obedience-C issue 2022-04-24 12:31:42 +01:00
Graham Nelson c3df78c70e Redrafting 2022-04-24 12:05:17 +01:00
Graham Nelson 526567a9a4 Redrafting 2022-04-24 11:58:43 +01:00
Graham Nelson d2917da6f2 Redrafting 2022-04-24 10:43:54 +01:00
Graham Nelson 3dfc38e83a Updated README.md 2022-04-24 10:35:55 +01:00
Graham Nelson bccf1ac979 Made first.sh cleanly build for use after checking out an update 2022-04-24 00:45:51 +01:00
Graham Nelson 4fba69d24c Using new-style readme scripts 2022-04-23 23:45:47 +01:00
Graham Nelson f0abc67d79 Using new-style gitignore scripts (again) 2022-04-23 14:02:23 +01:00
Graham Nelson df02d6c079 Using new-style gitignore scripts 2022-04-23 14:01:04 +01:00
Graham Nelson f79f550d37 Further work on makefiles 2022-04-22 23:55:36 +01:00
Graham Nelson bb1bb75578 Migrated to new makescript format 2022-04-22 00:09:24 +01:00
Graham Nelson 913ae66789 Scanning directories in alphabetical order 2022-04-19 22:05:06 +01:00
Graham Nelson 2f8cdd171c Removed spurious file from Eg4-C test case 2022-04-19 21:04:00 +01:00
Graham Nelson 4aa72531d0 Second thoughts 2022-04-19 20:48:57 +01:00
Graham Nelson 48d7f3f293 Removed spurious 7.x prefix on some version numbers 2022-04-19 20:39:47 +01:00
Graham Nelson 6403482fea Fix for problem message test case 2022-04-19 19:07:28 +01:00
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