mit-scheme.git
33 years agoReformatting.
Chris Hanson [Tue, 18 Feb 1992 14:29:09 +0000 (14:29 +0000)]
Reformatting.

33 years agoEliminate redundant call to UPDATE-SCREENS!.
Chris Hanson [Tue, 18 Feb 1992 14:12:29 +0000 (14:12 +0000)]
Eliminate redundant call to UPDATE-SCREENS!.

33 years agoMake sure that redisplay occurs whenever any subprocess events occur,
Chris Hanson [Tue, 18 Feb 1992 14:11:32 +0000 (14:11 +0000)]
Make sure that redisplay occurs whenever any subprocess events occur,
and that it is finished if interrupted.

33 years agoEliminate additional (and harmful) unbinding of local variables in
Chris Hanson [Tue, 18 Feb 1992 14:09:51 +0000 (14:09 +0000)]
Eliminate additional (and harmful) unbinding of local variables in
RESET-EDITOR.

33 years agoFix bug in apply rule. The procedure was not being passed in the
Guillermo J. Rozas [Tue, 18 Feb 1992 14:05:02 +0000 (14:05 +0000)]
Fix bug in apply rule.  The procedure was not being passed in the
interface register, and the frame size was passed in the wrong
register.

33 years agoFix open codings of FIXNUM-REMAINDER, FIXNUM-LSH, and unary fixnum
Guillermo J. Rozas [Tue, 18 Feb 1992 04:35:56 +0000 (04:35 +0000)]
Fix open codings of FIXNUM-REMAINDER, FIXNUM-LSH, and unary fixnum
predicates.

33 years agoFix JS opcode.
Guillermo J. Rozas [Tue, 18 Feb 1992 04:35:22 +0000 (04:35 +0000)]
Fix JS opcode.

33 years agoFix bug in transmogrifly. It was inserting too many nulls for the
Guillermo J. Rozas [Tue, 18 Feb 1992 04:34:43 +0000 (04:34 +0000)]
Fix bug in transmogrifly.  It was inserting too many nulls for the
relocation pointer.

33 years agoSTART-NOTIFIER modified per CPH's request.
Brian A. LaMacchia [Tue, 18 Feb 1992 03:25:07 +0000 (03:25 +0000)]
START-NOTIFIER modified per CPH's request.

33 years agoFix bug in rule for
Guillermo J. Rozas [Tue, 18 Feb 1992 01:53:26 +0000 (01:53 +0000)]
Fix bug in rule for
(CONS-POINTER (MACHINE-CONSTANT (? type)) (REGISTER (? datum)))

33 years agoAdd package comment.
Guillermo J. Rozas [Tue, 18 Feb 1992 01:52:53 +0000 (01:52 +0000)]
Add package comment.

33 years agoFix bad opcode in a PUSH rule.
Guillermo J. Rozas [Tue, 18 Feb 1992 01:52:23 +0000 (01:52 +0000)]
Fix bad opcode in a PUSH rule.

33 years agoSplit EXTRACT_EXECUTE_CACHE_ADDRESS from EXTRACT_OPERATOR_LINKAGE_ADDRESS.
Guillermo J. Rozas [Tue, 18 Feb 1992 01:50:54 +0000 (01:50 +0000)]
Split EXTRACT_EXECUTE_CACHE_ADDRESS from EXTRACT_OPERATOR_LINKAGE_ADDRESS.
The i386 does not need relocation for EXTRACT_EXECUTE_CACHE_ADDRESS,
so it is safer.

33 years agoMake sure that screen updates are finished before going into input
Chris Hanson [Tue, 18 Feb 1992 00:17:36 +0000 (00:17 +0000)]
Make sure that screen updates are finished before going into input
wait.  Previously screen updates could be interrupted by new events,
and not resumed before input wait.

33 years agoFix uses of rtl-target:=machine-register!
Guillermo J. Rozas [Mon, 17 Feb 1992 22:38:12 +0000 (22:38 +0000)]
Fix uses of rtl-target:=machine-register!

33 years agoFix defn. of machine-register-value-class to agree with
Guillermo J. Rozas [Mon, 17 Feb 1992 22:37:34 +0000 (22:37 +0000)]
Fix defn. of machine-register-value-class to agree with
number-of-machine-registers.

33 years ago- Add another rule that exapands into PUSH.W &??
Guillermo J. Rozas [Mon, 17 Feb 1992 22:36:58 +0000 (22:36 +0000)]
- Add another rule that exapands into PUSH.W &??
- Fix cons-pointer rule.

33 years ago- Change acos and asin rewrites to occur before cse.
Guillermo J. Rozas [Mon, 17 Feb 1992 22:35:54 +0000 (22:35 +0000)]
- Change acos and asin rewrites to occur before cse.
- Add a byte-offset-address rule to make use of optimized lapgen rule.

33 years agoExport add-pre-cse-rewriting-rule! from (compiler rtl-optimizer rtl-rewriting)
Guillermo J. Rozas [Mon, 17 Feb 1992 22:35:20 +0000 (22:35 +0000)]
Export add-pre-cse-rewriting-rule! from (compiler rtl-optimizer rtl-rewriting)
because rulrew.scm needs it.

33 years agoFix various incorrect lap instructions.
Guillermo J. Rozas [Mon, 17 Feb 1992 22:34:45 +0000 (22:34 +0000)]
Fix various incorrect lap instructions.

33 years agoChange object->machine-register! so that it can use a
Guillermo J. Rozas [Mon, 17 Feb 1992 22:34:19 +0000 (22:34 +0000)]
Change object->machine-register! so that it can use a
previously-cached pc value even if it is going to clobber the register
that contains it.

33 years agoIf you used mail-and-load-notify, on rmail-get-new-mail your entire
Brian A. LaMacchia [Mon, 17 Feb 1992 22:10:28 +0000 (22:10 +0000)]
If you used mail-and-load-notify, on rmail-get-new-mail your entire
notify string got set to "".  This has been fixed.

33 years agoVarious window-manager events, such as focus selection and closing of
Chris Hanson [Mon, 17 Feb 1992 22:09:58 +0000 (22:09 +0000)]
Various window-manager events, such as focus selection and closing of
X windows, are passed back from KEYBOARD-READ as special events to be
executed by the caller.  Previously, these were handled by the X
terminal abstraction.  This allows the caller to recognize that the
user is doing something unusual, and to behave accordingly.  For
example, incremental search treats such events exactly like other
complicated editor commands: the search is terminated before the
command is executed.

33 years agoDefine new variable EDITOR-THREAD-ROOT-CONTINUATION, which is the
Chris Hanson [Mon, 17 Feb 1992 22:01:47 +0000 (22:01 +0000)]
Define new variable EDITOR-THREAD-ROOT-CONTINUATION, which is the
continuation for use when spawning threads in the editor.  Also change
the environment and syntax-table that the initial *repl* uses to be
inherited from the REPL that Edwin is invoked from.

33 years agoDefine add-pre-cse-rewriting-rule! so that machines/??/rulrew.scm can
Guillermo J. Rozas [Mon, 17 Feb 1992 21:41:52 +0000 (21:41 +0000)]
Define add-pre-cse-rewriting-rule! so that machines/??/rulrew.scm can
use it.

33 years agopattern-lookup was not taking care of repeated pattern variables
Guillermo J. Rozas [Mon, 17 Feb 1992 21:20:57 +0000 (21:20 +0000)]
pattern-lookup was not taking care of repeated pattern variables
correctly.  It was looking for the pattern in the list of values!
Patched for now to assume that sharing is rare, and thus extra
work is done then.

To do handle this Correctly, pattern-variables should be modified to
replace each occurrence of a pattern variable with a pattern-variable
+ position, where position is false if this is the first occurrence of
the pattern variable or the index for list-ref of the previous value
if not.  This avoids the runtime memq, etc.

33 years agoGive preference to registers over other expressions, even if they have
Guillermo J. Rozas [Mon, 17 Feb 1992 21:10:22 +0000 (21:10 +0000)]
Give preference to registers over other expressions, even if they have
the same cost.  The RTL combiner and rewriting passes can always
make for cheaper expressions if necessary.

33 years agoFix primitive invocation to use code:compiler-primitive-apply instead
Guillermo J. Rozas [Mon, 17 Feb 1992 04:41:04 +0000 (04:41 +0000)]
Fix primitive invocation to use code:compiler-primitive-apply instead
of incorrectly using code:compiler-apply.

33 years agoFix START_CLOSURE_RELOCATION.
Guillermo J. Rozas [Sun, 16 Feb 1992 03:04:44 +0000 (03:04 +0000)]
Fix START_CLOSURE_RELOCATION.

33 years agoRevert register-copy-if-available, and use it correctly.
Guillermo J. Rozas [Sun, 16 Feb 1992 02:47:12 +0000 (02:47 +0000)]
Revert register-copy-if-available, and use it correctly.

33 years agoRemove far calls and jumps. They are not necessary (at least under
Guillermo J. Rozas [Sun, 16 Feb 1992 02:07:10 +0000 (02:07 +0000)]
Remove far calls and jumps.  They are not necessary (at least under
Mach).

33 years agoSIB bytes were all flipped (little vs. big endian).
Guillermo J. Rozas [Sun, 16 Feb 1992 02:04:31 +0000 (02:04 +0000)]
SIB bytes were all flipped (little vs. big endian).

33 years agoInitial revision
Guillermo J. Rozas [Sun, 16 Feb 1992 00:13:15 +0000 (00:13 +0000)]
Initial revision

33 years agoSwap order of code_segment and hook offset in the hook layout in
Guillermo J. Rozas [Sun, 16 Feb 1992 00:12:38 +0000 (00:12 +0000)]
Swap order of code_segment and hook offset in the hook layout in
memory.  I believe this corresponds to the actual format.

33 years agoFix assembly problems.
Guillermo J. Rozas [Sat, 15 Feb 1992 17:27:02 +0000 (17:27 +0000)]
Fix assembly problems.

33 years agoFix paren problem.
Guillermo J. Rozas [Sat, 15 Feb 1992 16:21:03 +0000 (16:21 +0000)]
Fix paren problem.

33 years agoAdd byte-unsigned-offset-reference.
Guillermo J. Rozas [Sat, 15 Feb 1992 16:16:57 +0000 (16:16 +0000)]
Add byte-unsigned-offset-reference.

33 years agoTeach the compiler how to use LEA to tag objects and do a three
Guillermo J. Rozas [Sat, 15 Feb 1992 16:13:00 +0000 (16:13 +0000)]
Teach the compiler how to use LEA to tag objects and do a three
operand ADD.

33 years agoBad call to target-register-reference.
Guillermo J. Rozas [Sat, 15 Feb 1992 14:34:45 +0000 (14:34 +0000)]
Bad call to target-register-reference.

33 years agoFix addressing mode bug.
Guillermo J. Rozas [Sat, 15 Feb 1992 14:31:42 +0000 (14:31 +0000)]
Fix addressing mode bug.

33 years agoJumps into compiled scheme code and out must use far jmp/call
Guillermo J. Rozas [Sat, 15 Feb 1992 14:17:23 +0000 (14:17 +0000)]
Jumps into compiled scheme code and out must use far jmp/call
instructions, because the code segment is not necessarily the same as
the data segment.  We still assume that the stack segment and the data
segment are the same.

33 years agoChange invoke-interface and invoke-interface/call to use
Guillermo J. Rozas [Sat, 15 Feb 1992 07:09:38 +0000 (07:09 +0000)]
Change invoke-interface and invoke-interface/call to use
MOVB instead of MOVW.

33 years agoAdd mail and load average notification.
Arthur Gleckler [Fri, 14 Feb 1992 22:34:07 +0000 (22:34 +0000)]
Add mail and load average notification.

33 years agoInitial revision
Arthur Gleckler [Fri, 14 Feb 1992 22:29:49 +0000 (22:29 +0000)]
Initial revision

33 years agoAdd i386 (Mach) support.
Guillermo J. Rozas [Fri, 14 Feb 1992 22:28:11 +0000 (22:28 +0000)]
Add i386 (Mach) support.

33 years agointerrupt_dlink renamed to asm_interrupt_dlink.
Guillermo J. Rozas [Fri, 14 Feb 1992 22:17:07 +0000 (22:17 +0000)]
interrupt_dlink renamed to asm_interrupt_dlink.

33 years agoRemove GCC test. It seems not to work on BSD at all anyway.
Guillermo J. Rozas [Fri, 14 Feb 1992 21:12:00 +0000 (21:12 +0000)]
Remove GCC test.  It seems not to work on BSD at all anyway.

33 years agoAdd test for GCC and accomodate BSD's eval that only takes one arg.
Guillermo J. Rozas [Fri, 14 Feb 1992 21:08:48 +0000 (21:08 +0000)]
Add test for GCC and accomodate BSD's eval that only takes one arg.

33 years agoWrite most entry points.
Guillermo J. Rozas [Fri, 14 Feb 1992 20:11:07 +0000 (20:11 +0000)]
Write most entry points.

33 years agoAdd a way to find out how to invoke a procedure from a table of
Guillermo J. Rozas [Fri, 14 Feb 1992 18:57:27 +0000 (18:57 +0000)]
Add a way to find out how to invoke a procedure from a table of
procedures.

33 years agoAdd way to find out how external references are done.
Guillermo J. Rozas [Fri, 14 Feb 1992 17:03:33 +0000 (17:03 +0000)]
Add way to find out how external references are done.

33 years agoInitial revision
Guillermo J. Rozas [Fri, 14 Feb 1992 03:45:31 +0000 (03:45 +0000)]
Initial revision

33 years agoInitial revision
Guillermo J. Rozas [Fri, 14 Feb 1992 01:50:05 +0000 (01:50 +0000)]
Initial revision

33 years agoFix typo in last change.
Chris Hanson [Thu, 13 Feb 1992 23:35:07 +0000 (23:35 +0000)]
Fix typo in last change.

33 years agoDon't do random call to EDITOR-CHAR-READY?.
Chris Hanson [Thu, 13 Feb 1992 22:19:34 +0000 (22:19 +0000)]
Don't do random call to EDITOR-CHAR-READY?.

33 years agoRename editor input procedures:
Chris Hanson [Thu, 13 Feb 1992 21:51:36 +0000 (21:51 +0000)]
Rename editor input procedures:

    old name new name
    ------------------ -------------------
    EDITOR-CHAR-READY? EDITOR-PEEK-NO-HANG
    EDITOR-PEEK-CHAR EDITOR-PEEK
    EDITOR-READ-CHAR EDITOR-READ

33 years agoWork around stupid bug in SF.
Chris Hanson [Thu, 13 Feb 1992 20:00:15 +0000 (20:00 +0000)]
Work around stupid bug in SF.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 19:55:02 +0000 (19:55 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 19:04:16 +0000 (19:04 +0000)]
More changes.

33 years agoFix typo that caused "special form" to appear on console when the
Chris Hanson [Thu, 13 Feb 1992 18:51:54 +0000 (18:51 +0000)]
Fix typo that caused "special form" to appear on console when the
debugger was run under Edwin.

33 years agoFix DIRECTORY-PATHNAME-AS-FILE so it accepts "/" as a valid argument.
Chris Hanson [Thu, 13 Feb 1992 18:26:43 +0000 (18:26 +0000)]
Fix DIRECTORY-PATHNAME-AS-FILE so it accepts "/" as a valid argument.

33 years agoFix PATHNAME->BUFFER-NAME so it handles "/" reasonably.
Chris Hanson [Thu, 13 Feb 1992 18:25:54 +0000 (18:25 +0000)]
Fix PATHNAME->BUFFER-NAME so it handles "/" reasonably.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 16:46:55 +0000 (16:46 +0000)]
More changes.

33 years agoInitial revision
Guillermo J. Rozas [Thu, 13 Feb 1992 16:40:25 +0000 (16:40 +0000)]
Initial revision

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 07:54:05 +0000 (07:54 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 07:48:52 +0000 (07:48 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 06:40:36 +0000 (06:40 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 06:37:13 +0000 (06:37 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 06:09:45 +0000 (06:09 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 06:01:59 +0000 (06:01 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 06:00:37 +0000 (06:00 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 05:59:28 +0000 (05:59 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 05:57:19 +0000 (05:57 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 05:51:07 +0000 (05:51 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 05:42:40 +0000 (05:42 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 05:31:26 +0000 (05:31 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 05:22:33 +0000 (05:22 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 03:50:24 +0000 (03:50 +0000)]
More changes.

33 years agoInitial revision
Guillermo J. Rozas [Thu, 13 Feb 1992 03:49:04 +0000 (03:49 +0000)]
Initial revision

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 03:35:38 +0000 (03:35 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 03:34:35 +0000 (03:34 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 03:22:20 +0000 (03:22 +0000)]
More changes.

33 years agoInitial revision
Guillermo J. Rozas [Thu, 13 Feb 1992 03:15:42 +0000 (03:15 +0000)]
Initial revision

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 03:05:15 +0000 (03:05 +0000)]
More changes.

33 years agoInitial revision
Guillermo J. Rozas [Thu, 13 Feb 1992 03:05:14 +0000 (03:05 +0000)]
Initial revision

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 02:54:53 +0000 (02:54 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Thu, 13 Feb 1992 02:43:12 +0000 (02:43 +0000)]
More changes.

33 years agoChange OTHER-WINDOW to consider windows on other visible screens as
Chris Hanson [Wed, 12 Feb 1992 23:52:51 +0000 (23:52 +0000)]
Change OTHER-WINDOW to consider windows on other visible screens as
possible alternatives.  Fix WINDOW-LIVE? to work correctly for windows
in screens that aren't selected.

33 years agoVariable USE-MULTIPLE-SCREENS now tells "other window" commands not to
Chris Hanson [Wed, 12 Feb 1992 23:47:39 +0000 (23:47 +0000)]
Variable USE-MULTIPLE-SCREENS now tells "other window" commands not to
create screens unless it is true; however if multiple screens already
exist, the windows in them are considered for selection along with
windows on the current screen.  Previously, if USE-MULTIPLE-SCREENS
was false, other screens were never considered.

33 years agoFix random bugs in SUBSTRING-UPPER-CASE? and SUBSTRING-LOWER-CASE?,
Chris Hanson [Wed, 12 Feb 1992 21:48:41 +0000 (21:48 +0000)]
Fix random bugs in SUBSTRING-UPPER-CASE? and SUBSTRING-LOWER-CASE?,
and tune up a few things to take advantage of compiler.

33 years agoAdd description of TRAMPOLINE_ENTRY_POINT.
Guillermo J. Rozas [Wed, 12 Feb 1992 15:52:19 +0000 (15:52 +0000)]
Add description of TRAMPOLINE_ENTRY_POINT.
Update description of TRAMPOLINE_BLOCK_TO_ENTRY.
Fix description of ENTRY_PREFIX_LENGTH.

33 years agoUse definition of TRAMPOLINE_ENTRY_POINT (instead of
Guillermo J. Rozas [Wed, 12 Feb 1992 15:48:40 +0000 (15:48 +0000)]
Use definition of TRAMPOLINE_ENTRY_POINT (instead of
TRAMPOLINE_BLOCK_TO_ENTRY) thereby removing the alignment restrictions
on make_trampoline.

33 years agoAdd definition of TRAMPOLINE_ENTRY_POINT which removes alignment
Guillermo J. Rozas [Wed, 12 Feb 1992 15:47:58 +0000 (15:47 +0000)]
Add definition of TRAMPOLINE_ENTRY_POINT which removes alignment
restrictions on make_trampoline.

Add full table of compiler ports.

33 years agoAdd definition of TRAMPOLINE_ENTRY_POINT which removes alignment
Guillermo J. Rozas [Wed, 12 Feb 1992 15:32:51 +0000 (15:32 +0000)]
Add definition of TRAMPOLINE_ENTRY_POINT which removes alignment
restrictions on make_trampoline.

Add full table of compiler ports.

33 years agoAdd full table of compiler ports.
Guillermo J. Rozas [Wed, 12 Feb 1992 15:27:27 +0000 (15:27 +0000)]
Add full table of compiler ports.

33 years agoAdd definition of TRAMPOLINE_ENTRY_POINT which removes alignment
Guillermo J. Rozas [Wed, 12 Feb 1992 15:26:30 +0000 (15:26 +0000)]
Add definition of TRAMPOLINE_ENTRY_POINT which removes alignment
restrictions on make_trampoline.

33 years agoFix typo.
Chris Hanson [Wed, 12 Feb 1992 12:18:30 +0000 (12:18 +0000)]
Fix typo.

33 years agoPreserve fcntl flags for stdio when starting and stopping Scheme.
Chris Hanson [Wed, 12 Feb 1992 12:07:49 +0000 (12:07 +0000)]
Preserve fcntl flags for stdio when starting and stopping Scheme.
Also handle EINTR in I/O system calls.

33 years agoMake sure terminal state is properly restored on reentry.
Chris Hanson [Wed, 12 Feb 1992 12:06:31 +0000 (12:06 +0000)]
Make sure terminal state is properly restored on reentry.

33 years agoAdd hook RMAIL-NEW-MAIL-HOOK. It is run when RMAIL reads new mail.
Arthur Gleckler [Wed, 12 Feb 1992 06:40:22 +0000 (06:40 +0000)]
Add hook RMAIL-NEW-MAIL-HOOK.  It is run when RMAIL reads new mail.