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

33 years agoSome changes for the alpha.
Guillermo J. Rozas [Mon, 10 Feb 1992 13:56:07 +0000 (13:56 +0000)]
Some changes for the alpha.

33 years agoconst => CONST
Guillermo J. Rozas [Mon, 10 Feb 1992 13:53:34 +0000 (13:53 +0000)]
const => CONST

33 years agoMove internal EXFUNs to top level. The alpha compiler gets confused.
Guillermo J. Rozas [Mon, 10 Feb 1992 13:29:50 +0000 (13:29 +0000)]
Move internal EXFUNs to top level.  The alpha compiler gets confused.

33 years agoMake bignum.h use ansidecl.h .
Guillermo J. Rozas [Mon, 10 Feb 1992 13:16:02 +0000 (13:16 +0000)]
Make bignum.h use ansidecl.h .

33 years agoRemove named parameters from prototypes in structure fields. The
Guillermo J. Rozas [Mon, 10 Feb 1992 13:10:44 +0000 (13:10 +0000)]
Remove named parameters from prototypes in structure fields.  The
Alpha compiler does not like them.

33 years agoPrevious definition of MAKE_OBJECT only worked if
Guillermo J. Rozas [Mon, 10 Feb 1992 13:05:22 +0000 (13:05 +0000)]
Previous definition of MAKE_OBJECT only worked if
(sizeof (int)) == (sizeof (long)) .

33 years agoFix alpha definition. ldexp is broken for now.
Guillermo J. Rozas [Mon, 10 Feb 1992 13:04:14 +0000 (13:04 +0000)]
Fix alpha definition. ldexp is broken for now.

33 years agoAdd dependencies from Psbtobin and Bintopsb to missing.o
Guillermo J. Rozas [Mon, 10 Feb 1992 13:03:06 +0000 (13:03 +0000)]
Add dependencies from Psbtobin and Bintopsb to missing.o

33 years agoUse new procedure EXIT-SCHEME instead of %EXIT.
Chris Hanson [Mon, 10 Feb 1992 12:03:33 +0000 (12:03 +0000)]
Use new procedure EXIT-SCHEME instead of %EXIT.

33 years agoAdd new procedure EXIT-SCHEME to first exit the editor and then kill
Chris Hanson [Mon, 10 Feb 1992 12:02:48 +0000 (12:02 +0000)]
Add new procedure EXIT-SCHEME to first exit the editor and then kill
Scheme.  This is a workaround for a problem that occurs when using
termcap and calling %EXIT from within the editor: the terminal
settings don't seem to be getting properly restored.

33 years agoChange the name of the file.
Guillermo J. Rozas [Sun, 9 Feb 1992 15:01:39 +0000 (15:01 +0000)]
Change the name of the file.

33 years agoSplit into two files.
Guillermo J. Rozas [Sun, 9 Feb 1992 14:55:51 +0000 (14:55 +0000)]
Split into two files.

33 years agoInitial revision
Guillermo J. Rozas [Sun, 9 Feb 1992 14:55:33 +0000 (14:55 +0000)]
Initial revision

33 years agoFix several type-o's.
Chris Hanson [Sun, 9 Feb 1992 03:48:11 +0000 (03:48 +0000)]
Fix several type-o's.

33 years agoMore changes.
Guillermo J. Rozas [Sun, 9 Feb 1992 03:45:36 +0000 (03:45 +0000)]
More changes.

33 years agoFix type-o.
Chris Hanson [Sun, 9 Feb 1992 03:41:48 +0000 (03:41 +0000)]
Fix type-o.

33 years agoMore changes.
Guillermo J. Rozas [Sun, 9 Feb 1992 00:36:45 +0000 (00:36 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Sun, 9 Feb 1992 00:26:28 +0000 (00:26 +0000)]
More changes.

33 years agoInitial revision
Guillermo J. Rozas [Sun, 9 Feb 1992 00:25:51 +0000 (00:25 +0000)]
Initial revision

33 years agoMore changes.
Guillermo J. Rozas [Sat, 8 Feb 1992 23:59:15 +0000 (23:59 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Sat, 8 Feb 1992 23:08:01 +0000 (23:08 +0000)]
More changes.

33 years agoMore changes.
Guillermo J. Rozas [Sat, 8 Feb 1992 18:16:00 +0000 (18:16 +0000)]
More changes.

33 years agoInitial revision
Guillermo J. Rozas [Sat, 8 Feb 1992 18:15:49 +0000 (18:15 +0000)]
Initial revision

33 years agoMore changes.
Guillermo J. Rozas [Sat, 8 Feb 1992 17:45:37 +0000 (17:45 +0000)]
More changes.

33 years agoInitial revision
Chris Hanson [Sat, 8 Feb 1992 15:32:58 +0000 (15:32 +0000)]
Initial revision

33 years agoThis version of Edwin requires microcode 11.108 and runtime 14.146.
Chris Hanson [Sat, 8 Feb 1992 15:23:45 +0000 (15:23 +0000)]
This version of Edwin requires microcode 11.108 and runtime 14.146.

* Multi-thread code from previous version has been moved to the
  runtime system.

* Use new reentrant directory-reading support from runtime system.

* New control variables in "basic.scm" give finer control over the
  exit options for Edwin.  The 6.001 student system should take
  advantage of these.

* Screens now have information indicating whether they are visible;
  commands that use screens avoid using invisible ones where possible.
  Invisible screens are never updated; they are fully updated when
  they are made visible again.

* Participate in WM_DELETE_WINDOW protocol; when running under a
  cooperating window manager (e.g. mwm), commands to delete Edwin's
  screens are now intercepted and processed appropriately.  When there
  are multiple screens, the given screen is deleted; if there is just
  one screen, Edwin exits exactly as if C-x c had been typed.

* Participate in WM_TAKE_FOCUS protocol; Edwin is a "locally active"
  client, meaning that it takes responsibility for managing keyboard
  focus among its own windows.  This means that switching the keyboard
  focus to a different Edwin window also informs the window manager
  that the focus has been changed.

* Edwin now tracks MapNotify and UnmapNotify events, and uses them to
  set the visibility information of screens.  This means that it is
  much harder to switch the focus to an iconified screen.

33 years agoDon't integrate references to dynamic-state primitives.
Chris Hanson [Sat, 8 Feb 1992 15:10:16 +0000 (15:10 +0000)]
Don't integrate references to dynamic-state primitives.

33 years agoThis version of the runtime system requires the following
Chris Hanson [Sat, 8 Feb 1992 15:08:47 +0000 (15:08 +0000)]
This version of the runtime system requires the following
corresponding versions:

    Microcode 11.108
    SF 4.23
    Edwin 3.66

Implement multiple control threads.

* Use new reentrant directory-reading primitives.

* Reimplement DYNAMIC-WIND and FLUID-LET.  The dynamic state is split
  into a global part, which FLUID-LET bindings, and a local part,
  which DYNAMIC-WIND binds.  The local part is different for each
  thread, and the global part is shared.  The new dynamic state code
  is all written in Scheme, except for the primitive
  WITH-STACK-MARKER, which is used to inform the continuation parser
  about the state changes.

* The continuation parser has been modified to hide the stack frames
  made by CALL-WITH-CURRENT-CONTINUATION from the debugger.

* The variable TIMER-INTERRUPT has been removed.  Chances are, you
  don't need this now, and this will prevent people from running
  programs that will screw thread preemption.

* Keyboard interrupts are delivered to a specific thread, which can be
  accessed with KEYBOARD-INTERRUPT-THREAD and modified by
  SET-KEYBOARD-INTERRUPT-THREAD!.

33 years agoWRITE-DBG-UPCASE-NAME: Don't upcase things that aren't symbols or
Chris Hanson [Sat, 8 Feb 1992 15:03:05 +0000 (15:03 +0000)]
WRITE-DBG-UPCASE-NAME: Don't upcase things that aren't symbols or
strings.

33 years agoThis microcode will not run versions of Edwin prior to 3.66.
Chris Hanson [Sat, 8 Feb 1992 14:54:26 +0000 (14:54 +0000)]
This microcode will not run versions of Edwin prior to 3.66.

* Add new primitive WITH-STACK-MARKER that marks the stack for the
  benefit of the continuation parser.

* Implement new set of directory-reading primitives that are
  reentrant.

Changes to X interface:

* Add support for WM_DELETE_WINDOW and WM_TAKE_FOCUS window manager
  protocols.

* Add support for Scheme to receive MapNotify and UnmapNotify events.

* Window creation primitives allow third argument to be (NAME . CLASS)
  meaning set the class hint to those strings.

* Primitive X-WINDOW-SET-CLASS-HINT now takes three arguments instead of
  four; the first argument was redundant.  The last two arguments have
  been reversed.

* New primitive X-WINDOW-SET-INPUT-HINT for use together with
  WM_TAKE_FOCUS protocol.

* New primitives X-WINDOW-SET-TRANSIENT-FOR-HINT, X-WINDOW-ICONIFY,
  and X-WINDOW-WITHDRAW.

33 years agoInitial revision
Guillermo J. Rozas [Sat, 8 Feb 1992 02:45:05 +0000 (02:45 +0000)]
Initial revision

33 years agoInitial revision
Guillermo J. Rozas [Sat, 8 Feb 1992 02:28:48 +0000 (02:28 +0000)]
Initial revision

33 years agoMake gc-abort-test act differently during the boot load, rather than
Guillermo J. Rozas [Fri, 7 Feb 1992 19:47:41 +0000 (19:47 +0000)]
Make gc-abort-test act differently during the boot load, rather than
fail because of an unassigned variable.

33 years agoAdd shortcircuit_apply hooks.
Guillermo J. Rozas [Fri, 7 Feb 1992 05:58:34 +0000 (05:58 +0000)]
Add shortcircuit_apply hooks.

33 years agoBug fix: PAGE-INTERIOR-REGION also broke when (GROUP-END? POINT) was
Arthur Gleckler [Thu, 6 Feb 1992 22:51:59 +0000 (22:51 +0000)]
Bug fix: PAGE-INTERIOR-REGION also broke when (GROUP-END? POINT) was
true and there was no PAGE-DELIMITER on the same line.

33 years agoBug fix: PAGE-INTERIOR-REGION broke on the last page (i.e., beyond the
Arthur Gleckler [Thu, 6 Feb 1992 22:48:26 +0000 (22:48 +0000)]
Bug fix: PAGE-INTERIOR-REGION broke on the last page (i.e., beyond the
last PAGE-DELIMITER on the page).

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