mit-scheme.git
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.

33 years agoUse new MAKE-SUBPROCESS primitive argument to set working directory of
Chris Hanson [Wed, 12 Feb 1992 02:23:32 +0000 (02:23 +0000)]
Use new MAKE-SUBPROCESS primitive argument to set working directory of
subprocess.

33 years agoChange MAKE-SUBPROCESS primitive to accept a working directory
Chris Hanson [Tue, 11 Feb 1992 23:16:50 +0000 (23:16 +0000)]
Change MAKE-SUBPROCESS primitive to accept a working directory
argument for setting the working directory of the subprocess.

33 years agoChange MAKE-SUBPROCESS primitive to accept a working directory
Chris Hanson [Tue, 11 Feb 1992 23:01:37 +0000 (23:01 +0000)]
Change MAKE-SUBPROCESS primitive to accept a working directory
argument for setting the working directory of the subprocess.

33 years agoAdded global-window-modeline-event!
Brian A. LaMacchia [Tue, 11 Feb 1992 22:35:09 +0000 (22:35 +0000)]
Added global-window-modeline-event!

33 years agoEliminate interrupt window in shortcircuit apply.
Chris Hanson [Tue, 11 Feb 1992 22:19:55 +0000 (22:19 +0000)]
Eliminate interrupt window in shortcircuit apply.

33 years agoMake setup_io take mode arguments to prevent text translation on
Henry M. Wu [Tue, 11 Feb 1992 21:15:00 +0000 (21:15 +0000)]
Make setup_io take mode arguments to prevent text translation on
non-Unix systems.

33 years agoDelete synchronous process after use.
Chris Hanson [Tue, 11 Feb 1992 20:52:30 +0000 (20:52 +0000)]
Delete synchronous process after use.

33 years agoClose SUBPROCESS-INPUT-CHANNEL when done with it.
Chris Hanson [Tue, 11 Feb 1992 20:37:19 +0000 (20:37 +0000)]
Close SUBPROCESS-INPUT-CHANNEL when done with it.

33 years agoProvide default resources for X windows.
Chris Hanson [Tue, 11 Feb 1992 19:38:16 +0000 (19:38 +0000)]
Provide default resources for X windows.

33 years agoChange screen, window, and buffer selection to make it hard to select
Chris Hanson [Tue, 11 Feb 1992 19:01:23 +0000 (19:01 +0000)]
Change screen, window, and buffer selection to make it hard to select
something on a screen that isn't visible.

33 years agoPrimitives to set internal border width and font now update the window
Chris Hanson [Tue, 11 Feb 1992 18:58:03 +0000 (18:58 +0000)]
Primitives to set internal border width and font now update the window
manager's "normal" hints, so that subsequent resizing works properly.

33 years agoMore changes.
Guillermo J. Rozas [Tue, 11 Feb 1992 17:31:24 +0000 (17:31 +0000)]
More changes.

33 years ago@RO -> @RO.B or @RO.W
Guillermo J. Rozas [Tue, 11 Feb 1992 14:48:30 +0000 (14:48 +0000)]
@RO -> @RO.B or @RO.W

33 years agoMore changes.
Guillermo J. Rozas [Tue, 11 Feb 1992 14:47:21 +0000 (14:47 +0000)]
More changes.

33 years agoChange BUFFER-VISIBLE? to mean that buffer is shown in a window that
Chris Hanson [Mon, 10 Feb 1992 21:57:09 +0000 (21:57 +0000)]
Change BUFFER-VISIBLE? to mean that buffer is shown in a window that
is visible.

33 years agoFix typo.
Chris Hanson [Mon, 10 Feb 1992 21:29:27 +0000 (21:29 +0000)]
Fix typo.

33 years agoUse resource arguments to window creation primitives for looking up
Chris Hanson [Mon, 10 Feb 1992 21:10:14 +0000 (21:10 +0000)]
Use resource arguments to window creation primitives for looking up
defaults as well as for setting the class hint.

33 years agoOPEN-OUTPUT-FILE was missing MERGE-PATHNAMES.
Chris Hanson [Mon, 10 Feb 1992 15:57:00 +0000 (15:57 +0000)]
OPEN-OUTPUT-FILE was missing MERGE-PATHNAMES.

33 years agoImplement new procedure QUIT-SCHEME.
Chris Hanson [Mon, 10 Feb 1992 15:48:53 +0000 (15:48 +0000)]
Implement new procedure QUIT-SCHEME.

33 years agoUse new procedure QUIT-SCHEME instead of QUIT.
Chris Hanson [Mon, 10 Feb 1992 15:31:50 +0000 (15:31 +0000)]
Use new procedure QUIT-SCHEME instead of QUIT.

33 years agoSet region to include only message being viewed.
Brian A. LaMacchia [Mon, 10 Feb 1992 15:02:57 +0000 (15:02 +0000)]
Set region to include only message being viewed.