mit-scheme.git
34 years agoChange subprocess code to be a loadable option.
Chris Hanson [Tue, 19 Feb 1991 22:45:49 +0000 (22:45 +0000)]
Change subprocess code to be a loadable option.

34 years agoAllow cref to generate itself correctly the first time by using the
Guillermo J. Rozas [Sat, 16 Feb 1991 17:44:53 +0000 (17:44 +0000)]
Allow cref to generate itself correctly the first time by using the
triv.* files.

34 years agoFix bug in fixnum-lsh. It was behaving like an arithmetic shift
Guillermo J. Rozas [Sat, 16 Feb 1991 07:55:09 +0000 (07:55 +0000)]
Fix bug in fixnum-lsh.  It was behaving like an arithmetic shift
rather than a logical shift.

34 years agoImprove fixnum->object to use a temporary register if necessary.
Guillermo J. Rozas [Sat, 16 Feb 1991 05:45:30 +0000 (05:45 +0000)]
Improve fixnum->object to use a temporary register if necessary.
This allows it to be targetted to the stack or heap.

34 years agoFix bug by which fixnum-lsh was actually fixnum-ash (arithmetic shift
Guillermo J. Rozas [Sat, 16 Feb 1991 01:09:02 +0000 (01:09 +0000)]
Fix bug by which fixnum-lsh was actually fixnum-ash (arithmetic shift
rather than logical).

34 years agoChanges for new error system in runtime 14.106.
Chris Hanson [Fri, 15 Feb 1991 20:34:34 +0000 (20:34 +0000)]
Changes for new error system in runtime 14.106.

34 years agoChanges for new error system in runtime 14.106.
Chris Hanson [Fri, 15 Feb 1991 18:17:14 +0000 (18:17 +0000)]
Changes for new error system in runtime 14.106.

34 years agoChanges to error system:
Chris Hanson [Fri, 15 Feb 1991 18:08:01 +0000 (18:08 +0000)]
Changes to error system:

* Complete redesign of the error system.  Conditions now have named
  fields like records, and an interface similar to that of the record
  abstraction.  Condition types have single inheritance instead of
  multiple inheritance; the latter can be implemented with some small
  effort should someone need it.  Significantly richer taxonomy of
  condition types.  New "restart" mechanism like that of Common Lisp.
  Hooks for overriding default handlers for errors and warnings.

* The special forms `error' and `bkpt' have been changed to be
  procedures.

* `error:datum-out-of-range' no longer accepts a second argument; use
  new procedure `error:bad-range-argument' instead.

* `error:illegal-datum' has been eliminated; use either
  `error:wrong-type-datum' or `error:wrong-type-argument' instead.

Changes to REPL:

* ";Value" message produced by REPL now prints out a hash number if
  the value is a pointer object.

* New procedure `ve' starts a sub-REPL in a given environment.

* New procedure `restart' selects a restart option and invokes it.  If
  invoked with no arguments, it presents a list of options and prompts
  for the user to select one by number; otherwise it is called with
  one argument, an option number.

* The variable `cmdl-interrupt/abort-top-level/reset?' has been
  eliminated.

* Eliminated "proceed points" and "proceed continuations".  These are
  replaced by new "restarts" mechanism.

* `cmdl-message/active' now passes the current cmdl object as an
  argument to the actor procedure.

* The procedures `abort-to-nearest-driver',
  `abort-to-previous-driver', and `abort-to-top-level-driver' have
  been eliminated.  The procedures `abort->nearest',
  `abort->previous', and `abort->top-level' have been generalized to
  accept a string as an argument; use these in place of the eliminated
  procedures.

Other changes:

* Debugger has a new command, K, that chooses a restart option and
  invokes it.

* New predicates `interned-symbol?' and `uninterned-symbol?'.

34 years agoContinuations that are closed in IC environments save their closing
Chris Hanson [Fri, 15 Feb 1991 16:52:44 +0000 (16:52 +0000)]
Continuations that are closed in IC environments save their closing
environment on the stack.  The next-continuation-offset must account
for that environment; previously it wasn't.

34 years agoUpdate to match 68k version after CPH's fix of top-level "illegal
Guillermo J. Rozas [Fri, 15 Feb 1991 01:14:34 +0000 (01:14 +0000)]
Update to match 68k version after CPH's fix of top-level "illegal
return address" bug.

34 years agoEnhance to allow for command line definitions. This makes it easier
Guillermo J. Rozas [Fri, 15 Feb 1991 00:51:05 +0000 (00:51 +0000)]
Enhance to allow for command line definitions.  This makes it easier
to share a source that works for pcc, gcc, and Vax-11 C (VMS).

34 years agoUpdate for 7.1 port.
Guillermo J. Rozas [Fri, 15 Feb 1991 00:48:28 +0000 (00:48 +0000)]
Update for 7.1 port.

34 years agoInitial revision
Guillermo J. Rozas [Fri, 15 Feb 1991 00:47:19 +0000 (00:47 +0000)]
Initial revision

34 years agoUpdate for 7.1 port.
Guillermo J. Rozas [Fri, 15 Feb 1991 00:42:38 +0000 (00:42 +0000)]
Update for 7.1 port.

34 years agoInitial revision
Guillermo J. Rozas [Fri, 15 Feb 1991 00:40:13 +0000 (00:40 +0000)]
Initial revision

34 years agoEliminate syntax phase for assembly since assembler now directly
Chris Hanson [Fri, 15 Feb 1991 00:25:17 +0000 (00:25 +0000)]
Eliminate syntax phase for assembly since assembler now directly
accepts LAP.

34 years agoMinor bug fixes.
Chris Hanson [Fri, 15 Feb 1991 00:19:58 +0000 (00:19 +0000)]
Minor bug fixes.

34 years agoChange default extensions for the cross compiler to avoid "double
Guillermo J. Rozas [Thu, 14 Feb 1991 18:45:55 +0000 (18:45 +0000)]
Change default extensions for the cross compiler to avoid "double
extensions" that confuse shells.

34 years agoFix with-register-copy-alias! and register-copy-if-available to handle
Guillermo J. Rozas [Thu, 14 Feb 1991 18:44:48 +0000 (18:44 +0000)]
Fix with-register-copy-alias! and register-copy-if-available to handle
machine registers as `source' as well as pseudo registers.
This is required by the new, smaller, rule set.

34 years agoMust give "-large" switch when making the runtime system.
Chris Hanson [Thu, 14 Feb 1991 17:53:25 +0000 (17:53 +0000)]
Must give "-large" switch when making the runtime system.

34 years agoEliminate dlink-procedure-header, no longer necessary after
Guillermo J. Rozas [Tue, 12 Feb 1991 04:48:14 +0000 (04:48 +0000)]
Eliminate dlink-procedure-header, no longer necessary after
entry:compiler-interrupt-dlink was written.

34 years agoChange default extensions to make shell-level tools easier to write.
Guillermo J. Rozas [Wed, 6 Feb 1991 03:04:59 +0000 (03:04 +0000)]
Change default extensions to make shell-level tools easier to write.

34 years agoChange default extensions to make shell-level tools easier to write.
Guillermo J. Rozas [Wed, 6 Feb 1991 02:59:38 +0000 (02:59 +0000)]
Change default extensions to make shell-level tools easier to write.

34 years agoFix bug in last patch.
Guillermo J. Rozas [Wed, 6 Feb 1991 02:53:28 +0000 (02:53 +0000)]
Fix bug in last patch.

34 years agoChange extension for cross-compiler so that shell tools will work more
Guillermo J. Rozas [Wed, 6 Feb 1991 02:51:10 +0000 (02:51 +0000)]
Change extension for cross-compiler so that shell tools will work more
easily.

34 years agoFix typo: gcd-fixnum appeared as gc-fixnum.
Guillermo J. Rozas [Tue, 5 Feb 1991 03:50:50 +0000 (03:50 +0000)]
Fix typo: gcd-fixnum appeared as gc-fixnum.

34 years agoFix bug in eqv? and equal? by which = numbers represented differently
Hal Abelson [Thu, 31 Jan 1991 07:08:51 +0000 (07:08 +0000)]
Fix bug in eqv? and equal? by which = numbers represented differently
(eg. fixnum vs. bignum) were deemed unequal.

34 years agoFix off-by-one error in bit-string->unsigned-integer.
Hal Abelson [Thu, 31 Jan 1991 07:00:00 +0000 (07:00 +0000)]
Fix off-by-one error in bit-string->unsigned-integer.
If the bit-string has exactly FIXNUM_LENGTH bits, it still
falls in the fixnum range.

34 years agoFossil removal.
Guillermo J. Rozas [Wed, 30 Jan 1991 22:48:01 +0000 (22:48 +0000)]
Fossil removal.

34 years agoFossil removal.
Guillermo J. Rozas [Wed, 30 Jan 1991 22:03:36 +0000 (22:03 +0000)]
Fossil removal.

34 years agoEliminate some unused incorrect code.
Guillermo J. Rozas [Mon, 28 Jan 1991 23:11:05 +0000 (23:11 +0000)]
Eliminate some unused incorrect code.

34 years agoMake changes to handle new system-call errors that are generated by
Chris Hanson [Sat, 26 Jan 1991 03:24:00 +0000 (03:24 +0000)]
Make changes to handle new system-call errors that are generated by
microcode version 11.61.  This runtime system will continue to work
with older microcode versions.

34 years agoDefine `make-directory'.
Chris Hanson [Sat, 26 Jan 1991 03:21:15 +0000 (03:21 +0000)]
Define `make-directory'.

34 years agoImplement mechanism to pass system-call name and error code to Scheme
Chris Hanson [Thu, 24 Jan 1991 11:26:25 +0000 (11:26 +0000)]
Implement mechanism to pass system-call name and error code to Scheme
error handler when system-call errors occur.

34 years agoFlush obsolete file-output primitives.
Chris Hanson [Thu, 24 Jan 1991 05:30:26 +0000 (05:30 +0000)]
Flush obsolete file-output primitives.

34 years agoImplement mechanism to pass system-call name and error code to Scheme
Chris Hanson [Thu, 24 Jan 1991 05:04:41 +0000 (05:04 +0000)]
Implement mechanism to pass system-call name and error code to Scheme
error handler when system-call errors occur.

34 years agoFix typo in comment.
Chris Hanson [Thu, 24 Jan 1991 04:40:51 +0000 (04:40 +0000)]
Fix typo in comment.

34 years agoImplement mechanism to pass system-call name and error code to Scheme
Chris Hanson [Thu, 24 Jan 1991 04:34:30 +0000 (04:34 +0000)]
Implement mechanism to pass system-call name and error code to Scheme
error handler when system-call errors occur.

34 years agoAdd slots for system call names and error codes.
Chris Hanson [Thu, 24 Jan 1991 04:32:32 +0000 (04:32 +0000)]
Add slots for system call names and error codes.

34 years agoAdd system-call error.
Chris Hanson [Thu, 24 Jan 1991 04:32:01 +0000 (04:32 +0000)]
Add system-call error.

34 years agoAdd record type.
Chris Hanson [Thu, 24 Jan 1991 04:31:04 +0000 (04:31 +0000)]
Add record type.

34 years agoFix a bug in statement rule for
Guillermo J. Rozas [Wed, 23 Jan 1991 21:34:30 +0000 (21:34 +0000)]
Fix a bug in statement rule for

  (ASSIGN (OFFSET (REGISTER (? address)) (? offset))
  (BYTE-OFFSET-ADDRESS (OFFSET (REGISTER (? address)) (? offset))
       (? n)))

34 years agoFix bad reference.
Guillermo J. Rozas [Wed, 23 Jan 1991 18:57:31 +0000 (18:57 +0000)]
Fix bad reference.

34 years agoFix bug. First entry for STORE_EXECUTE_CACHE_CODE should have been an
Guillermo J. Rozas [Wed, 23 Jan 1991 18:56:21 +0000 (18:56 +0000)]
Fix bug.  First entry for STORE_EXECUTE_CACHE_CODE should have been an
entry for STORE_EXECUTE_CACHE_ADDRESS.

34 years agoChanges for new parser, which corresponds to RCS 5.5.
Chris Hanson [Sat, 19 Jan 1991 04:21:33 +0000 (04:21 +0000)]
Changes for new parser, which corresponds to RCS 5.5.

34 years agoInitial revision
Chris Hanson [Sat, 19 Jan 1991 04:20:36 +0000 (04:20 +0000)]
Initial revision

34 years agoInitial revision
Chris Hanson [Fri, 18 Jan 1991 19:10:09 +0000 (19:10 +0000)]
Initial revision

34 years agoFix bug in INDIRECT_TEST_1 and INDIRECT_TEST_2 by adding a use of
Guillermo J. Rozas [Fri, 18 Jan 1991 01:13:31 +0000 (01:13 +0000)]
Fix bug in INDIRECT_TEST_1 and INDIRECT_TEST_2 by adding a use of
BOOLEAN_TO_OBJECT.

34 years agoInitial revision
Guillermo J. Rozas [Wed, 16 Jan 1991 21:39:29 +0000 (21:39 +0000)]
Initial revision

34 years agoDocument new macros and make some minor changes.
Guillermo J. Rozas [Wed, 16 Jan 1991 16:11:05 +0000 (16:11 +0000)]
Document new macros and make some minor changes.

34 years agoAdd conditionalization to distinguish versions 1.0 and 2.0 of NeXT OS.
Chris Hanson [Wed, 16 Jan 1991 00:34:58 +0000 (00:34 +0000)]
Add conditionalization to distinguish versions 1.0 and 2.0 of NeXT OS.

34 years agoChange to use `tty-x-size' and `tty-y-size' instead of termcap's
Chris Hanson [Tue, 15 Jan 1991 20:22:18 +0000 (20:22 +0000)]
Change to use `tty-x-size' and `tty-y-size' instead of termcap's
values for these numbers.  This is because termcap uses static data,
while the primitives use dynamic data if available.

34 years agoAdd simple support for TIOCGWINSZ.
Chris Hanson [Tue, 15 Jan 1991 20:18:46 +0000 (20:18 +0000)]
Add simple support for TIOCGWINSZ.

34 years agoFlush two unused slots in the `screen' data structure.
Chris Hanson [Tue, 15 Jan 1991 13:59:08 +0000 (13:59 +0000)]
Flush two unused slots in the `screen' data structure.

34 years agoWhen splitting a window, don't try to update the `truncate-lines' slot
Chris Hanson [Tue, 15 Jan 1991 00:13:44 +0000 (00:13 +0000)]
When splitting a window, don't try to update the `truncate-lines' slot
unless the window's buffer has been set.

34 years agoAdded support for RECORD type structures (i.e. structures with records
Mark Friedman [Fri, 11 Jan 1991 22:08:09 +0000 (22:08 +0000)]
Added support for RECORD type structures (i.e. structures with records
as their underlying type). In some sense of course this is redundant
since records and untyped structures are both tagged vectors, but this
allows you to use DEFINE-STRUCTURE to generate the constructor,
accessor, settor and predicate definitions while also allowing you to
interrogate the record for those procedures.

34 years agoDisable signalling NaNs on 68881.
Chris Hanson [Tue, 8 Jan 1991 22:16:01 +0000 (22:16 +0000)]
Disable signalling NaNs on 68881.

34 years agoRe-enable ^G interrupts whenever entering input wait.
Chris Hanson [Tue, 8 Jan 1991 04:49:24 +0000 (04:49 +0000)]
Re-enable ^G interrupts whenever entering input wait.

34 years agoChange terminal-interface code to handle ^S/^Q (and several related
Chris Hanson [Mon, 7 Jan 1991 23:57:29 +0000 (23:57 +0000)]
Change terminal-interface code to handle ^S/^Q (and several related
problems) on Ultrix and BSD.

34 years agoIn nonbuffered input mode, disable ^S and ^V (and all other special
Chris Hanson [Sat, 5 Jan 1991 23:09:06 +0000 (23:09 +0000)]
In nonbuffered input mode, disable ^S and ^V (and all other special
characters) on BSD systems.

34 years agoNeXT needs 6-bit type code.
Chris Hanson [Wed, 2 Jan 1991 18:19:36 +0000 (18:19 +0000)]
NeXT needs 6-bit type code.

34 years agoPatch around NeXT's missing "etext".
Chris Hanson [Sun, 30 Dec 1990 02:00:19 +0000 (02:00 +0000)]
Patch around NeXT's missing "etext".

34 years agoFix bugs in standalone code.
Chris Hanson [Sat, 29 Dec 1990 22:00:54 +0000 (22:00 +0000)]
Fix bugs in standalone code.

34 years agoUpdate conditionalizations for NeXT.
Chris Hanson [Sat, 29 Dec 1990 21:06:46 +0000 (21:06 +0000)]
Update conditionalizations for NeXT.

34 years agoUpdate conditionalizations for NeXT.
Chris Hanson [Sat, 29 Dec 1990 20:57:57 +0000 (20:57 +0000)]
Update conditionalizations for NeXT.

34 years agoUpdate conditionalizations for NeXT.
Chris Hanson [Sat, 29 Dec 1990 20:42:04 +0000 (20:42 +0000)]
Update conditionalizations for NeXT.

34 years agoFix fencepost error in hardware traps.
Hal Abelson [Fri, 28 Dec 1990 01:34:25 +0000 (01:34 +0000)]
Fix fencepost error in hardware traps.

34 years agoRewrite for 7.1.0 release.
Chris Hanson [Wed, 12 Dec 1990 03:10:20 +0000 (03:10 +0000)]
Rewrite for 7.1.0 release.

34 years agoRewrite for 7.1.0 release.
Chris Hanson [Wed, 12 Dec 1990 03:08:46 +0000 (03:08 +0000)]
Rewrite for 7.1.0 release.

34 years agoRewrite for 7.1.0 release.
Chris Hanson [Tue, 11 Dec 1990 23:48:36 +0000 (23:48 +0000)]
Rewrite for 7.1.0 release.

34 years agoFix weird bug in Makefile.
Chris Hanson [Tue, 11 Dec 1990 23:36:17 +0000 (23:36 +0000)]
Fix weird bug in Makefile.

34 years agoEliminate "dmpwrld.c" -- it will require more careful integration.
Chris Hanson [Tue, 11 Dec 1990 04:22:08 +0000 (04:22 +0000)]
Eliminate "dmpwrld.c" -- it will require more careful integration.

34 years agoAdd changes for SunOS 4.1.
Chris Hanson [Tue, 11 Dec 1990 04:16:23 +0000 (04:16 +0000)]
Add changes for SunOS 4.1.

34 years agoChange release string to indicate beta test.
Chris Hanson [Mon, 10 Dec 1990 19:40:48 +0000 (19:40 +0000)]
Change release string to indicate beta test.

34 years agoChange HP-PA caching mechanism to use a single database file, stored
Chris Hanson [Sat, 1 Dec 1990 00:22:03 +0000 (00:22 +0000)]
Change HP-PA caching mechanism to use a single database file, stored
in the library directory, that contains entries indexed by model type.
The `hppacache' program now updates that database by adding new
entries to it.  The filename of the database is given as an explicit
argument.

34 years agoMake the `search_path_for_file' procedure be non-static.
Chris Hanson [Sat, 1 Dec 1990 00:06:43 +0000 (00:06 +0000)]
Make the `search_path_for_file' procedure be non-static.

34 years agoDon't need to define C_SCHEME.
Chris Hanson [Fri, 30 Nov 1990 02:45:43 +0000 (02:45 +0000)]
Don't need to define C_SCHEME.

34 years agoFix thinko in `console-scroll-lines-up'.
Chris Hanson [Thu, 29 Nov 1990 22:09:44 +0000 (22:09 +0000)]
Fix thinko in `console-scroll-lines-up'.

34 years agoPass "-w" switch to compiler to eliminate needless warning messages.
Chris Hanson [Thu, 29 Nov 1990 05:06:40 +0000 (05:06 +0000)]
Pass "-w" switch to compiler to eliminate needless warning messages.

34 years ago"-YPOSIX" must be given both for compiling and linking.
Chris Hanson [Thu, 29 Nov 1990 04:59:44 +0000 (04:59 +0000)]
"-YPOSIX" must be given both for compiling and linking.

34 years agoEliminate use of syntactic keyword as variable name.
Chris Hanson [Thu, 29 Nov 1990 02:11:06 +0000 (02:11 +0000)]
Eliminate use of syntactic keyword as variable name.

34 years agoPre-ANSI compilers don't handle automatic arrays declared as [].
Chris Hanson [Thu, 29 Nov 1990 00:18:23 +0000 (00:18 +0000)]
Pre-ANSI compilers don't handle automatic arrays declared as [].

34 years agoPre-ANSI compilers don't handle automatic arrays declared as [].
Chris Hanson [Thu, 29 Nov 1990 00:12:09 +0000 (00:12 +0000)]
Pre-ANSI compilers don't handle automatic arrays declared as [].

34 years agoWork around HP-PA compiler bug: can't have conditional expression with
Chris Hanson [Wed, 28 Nov 1990 23:51:22 +0000 (23:51 +0000)]
Work around HP-PA compiler bug: can't have conditional expression with
one arm of type void, even if entire expression is in effect position.

34 years agoDon't define `CANNOT_UNEXEC' for spectrum.
Chris Hanson [Wed, 28 Nov 1990 22:43:02 +0000 (22:43 +0000)]
Don't define `CANNOT_UNEXEC' for spectrum.

34 years ago*** empty log message ***
Chris Hanson [Wed, 28 Nov 1990 22:37:18 +0000 (22:37 +0000)]
*** empty log message ***

34 years agoEliminate several misplaced commas.
Chris Hanson [Wed, 28 Nov 1990 22:32:23 +0000 (22:32 +0000)]
Eliminate several misplaced commas.

34 years agoFix bug in definition of bgezal and bltzal instructions.
Chris Hanson [Wed, 28 Nov 1990 22:10:56 +0000 (22:10 +0000)]
Fix bug in definition of bgezal and bltzal instructions.

34 years agoFix typo in `fp-copy'.
Chris Hanson [Wed, 28 Nov 1990 22:10:07 +0000 (22:10 +0000)]
Fix typo in `fp-copy'.

34 years agoDon't include "dmpwrld.c" except for certain machines on which it is
Chris Hanson [Wed, 28 Nov 1990 21:14:41 +0000 (21:14 +0000)]
Don't include "dmpwrld.c" except for certain machines on which it is
known to work.

34 years agoFix typo in symbol name.
Chris Hanson [Wed, 28 Nov 1990 21:11:47 +0000 (21:11 +0000)]
Fix typo in symbol name.

34 years agoDon't include "posixtype.h" unless "oscond.h" is included first.
Chris Hanson [Wed, 28 Nov 1990 20:52:09 +0000 (20:52 +0000)]
Don't include "posixtype.h" unless "oscond.h" is included first.

34 years agoVarious changes from FSF.
Chris Hanson [Wed, 28 Nov 1990 20:38:31 +0000 (20:38 +0000)]
Various changes from FSF.

34 years agoAdd extra include file required by Ultrix; technically HP-UX requires
Chris Hanson [Wed, 28 Nov 1990 20:32:51 +0000 (20:32 +0000)]
Add extra include file required by Ultrix; technically HP-UX requires
this also, but HP-UX doesn't get upset if it isn't given.

34 years agoFix bug in library path parser. Also add code to transform relative
Chris Hanson [Tue, 27 Nov 1990 22:12:20 +0000 (22:12 +0000)]
Fix bug in library path parser.  Also add code to transform relative
library directories into absolute form.

34 years ago*** empty log message ***
Chris Hanson [Tue, 27 Nov 1990 19:37:43 +0000 (19:37 +0000)]
*** empty log message ***

34 years agoInitial revision
Chris Hanson [Tue, 27 Nov 1990 19:17:33 +0000 (19:17 +0000)]
Initial revision

34 years agoAdjust comment for i386.
Chris Hanson [Tue, 27 Nov 1990 19:17:05 +0000 (19:17 +0000)]
Adjust comment for i386.

34 years agoAdd processor type for i386.
Chris Hanson [Tue, 27 Nov 1990 19:16:21 +0000 (19:16 +0000)]
Add processor type for i386.

34 years agoEliminate illegal `#include SITE_INCLUDE_FILE'.
Chris Hanson [Tue, 27 Nov 1990 19:15:21 +0000 (19:15 +0000)]
Eliminate illegal `#include SITE_INCLUDE_FILE'.