mit-scheme.git
34 years agoFix bug that made C-u TAB work incorrectly under some conditions.
Chris Hanson [Wed, 3 Apr 1991 04:26:03 +0000 (04:26 +0000)]
Fix bug that made C-u TAB work incorrectly under some conditions.

34 years agoCatch errors that happen while reading expressions from a buffer.
Chris Hanson [Wed, 3 Apr 1991 04:21:15 +0000 (04:21 +0000)]
Catch errors that happen while reading expressions from a buffer.

34 years agoCatch errors that happen while reading expressions from a buffer.
Chris Hanson [Wed, 3 Apr 1991 04:09:58 +0000 (04:09 +0000)]
Catch errors that happen while reading expressions from a buffer.

34 years agoWhen marking buffers for deletion, use D instead of K.
Chris Hanson [Wed, 3 Apr 1991 04:03:30 +0000 (04:03 +0000)]
When marking buffers for deletion, use D instead of K.

34 years ago*** empty log message ***
Chris Hanson [Wed, 3 Apr 1991 04:01:47 +0000 (04:01 +0000)]
*** empty log message ***

34 years agoFix bug that prevented the typein window from being correctly updated
Chris Hanson [Wed, 3 Apr 1991 04:00:46 +0000 (04:00 +0000)]
Fix bug that prevented the typein window from being correctly updated
when a message was erased.

34 years agoFix fencepost error in `scroll-lines-up'.
Chris Hanson [Wed, 3 Apr 1991 03:59:52 +0000 (03:59 +0000)]
Fix fencepost error in `scroll-lines-up'.

34 years ago`block/next-continuation-offset', when it found that the next thing up
Chris Hanson [Wed, 3 Apr 1991 00:51:09 +0000 (00:51 +0000)]
`block/next-continuation-offset', when it found that the next thing up
on the stack was an "always-known" continuation, failed to take that
continuation's offset into account when determining the distance to
the continuation above that.

34 years agoIn `shell-command-region', if the region is empty, must close the
Chris Hanson [Wed, 3 Apr 1991 00:18:20 +0000 (00:18 +0000)]
In `shell-command-region', if the region is empty, must close the
input channel of the subprocess.

34 years ago*** empty log message ***
Chris Hanson [Wed, 3 Apr 1991 00:12:37 +0000 (00:12 +0000)]
*** empty log message ***

34 years agoFix think-o in `group-delete!'.
Chris Hanson [Wed, 3 Apr 1991 00:12:07 +0000 (00:12 +0000)]
Fix think-o in `group-delete!'.

34 years agoChange mark data structure to store index instead of position.
Chris Hanson [Tue, 2 Apr 1991 19:56:05 +0000 (19:56 +0000)]
Change mark data structure to store index instead of position.
Eliminate `mark-position' operation, which is no longer useful.

These changes require microcode version 11.73 or later.

34 years agoUpdate description of Edwin mark structure to match change in Edwin
Chris Hanson [Tue, 2 Apr 1991 19:45:32 +0000 (19:45 +0000)]
Update description of Edwin mark structure to match change in Edwin
version 3.31.  Previous versions of Edwin will not work correctly with
this microcode.

34 years agoIn `block/next-continuation-offset', if the next continuation is
Chris Hanson [Tue, 2 Apr 1991 00:06:29 +0000 (00:06 +0000)]
In `block/next-continuation-offset', if the next continuation is
always known, then it won't be pushed and the offset must include the
distance to the next continuation after that.

34 years agoFix bugs associated with continuation lines: when scrolling, lines
Chris Hanson [Tue, 2 Apr 1991 00:01:37 +0000 (00:01 +0000)]
Fix bugs associated with continuation lines: when scrolling, lines
that are continued off the top or bottom of the window must be redrawn
instead of scrolled.  Also fix typo in last change that caused
continued lines to draw only their last line in most cases.

34 years agoIn `maybe-scroll', if the lines are being scrolled off the window,
Chris Hanson [Mon, 1 Apr 1991 19:47:25 +0000 (19:47 +0000)]
In `maybe-scroll', if the lines are being scrolled off the window,
don't forget to deallocate the structures used to describe them.

34 years agoFix bug: lines that were clipped at a window's top were not being
Chris Hanson [Mon, 1 Apr 1991 19:46:00 +0000 (19:46 +0000)]
Fix bug: lines that were clipped at a window's top were not being
drawn correctly.

34 years ago* Redesign redisplay to get line-contents strings from the screen
Chris Hanson [Mon, 1 Apr 1991 10:08:00 +0000 (10:08 +0000)]
* Redesign redisplay to get line-contents strings from the screen
  abstraction and write directly on those strings, thus avoiding much
  intermediate copying and the consequent computation.  Eliminate as
  much intermediate consing as possible from the image-generation
  code.

* Eliminate `string-base' window class, which was storing too much
  information for each buffer line.  Instead, use new `outline'
  abstraction, which keeps track of two pieces of information for each
  line: the number of characters in the line and the height of the
  line's image on the screen.  This is all that is needed when
  computing what needs to be redrawn -- all other information is
  already being stored in the screen abstraction.

* New `outline' and `o3' objects are explicitly managed for each
  window.  Instead of being discarded after use, they are saved for
  reuse later, preventing the generation of garbage during most
  redisplay.

* Fix bug in redisplay: if the image of the last line in a window
  extends past the bottom of the window, and the point moves, we must
  check to see if it has gone offscreen, even if it is on a displayed
  line.

34 years agoIf a buffer has a `display-start' mark, and the buffer is narrowed,
Chris Hanson [Mon, 1 Apr 1991 10:04:29 +0000 (10:04 +0000)]
If a buffer has a `display-start' mark, and the buffer is narrowed,
the `display-start' must be eliminated if it is outside the narrowed
region.

34 years agoFix bug that prevented "//" at end of pathname string from meaning
Chris Hanson [Mon, 1 Apr 1991 06:15:49 +0000 (06:15 +0000)]
Fix bug that prevented "//" at end of pathname string from meaning
"/".

34 years agoFix bug that caused dired buffer of "/" to have the name "*random*".
Chris Hanson [Mon, 1 Apr 1991 06:14:27 +0000 (06:14 +0000)]
Fix bug that caused dired buffer of "/" to have the name "*random*".

34 years agoAdd JMiller's comments and make some edits incorporating some
Guillermo J. Rozas [Fri, 29 Mar 1991 01:27:27 +0000 (01:27 +0000)]
Add JMiller's comments and make some edits incorporating some
suggestions by JMiller, MarkF, and Arthur.

34 years agoMake the compiler interface reset itself after restarting a dumped
Guillermo J. Rozas [Thu, 28 Mar 1991 20:09:23 +0000 (20:09 +0000)]
Make the compiler interface reset itself after restarting a dumped
scheme.  On some machines, the cache description needs to be recached.

34 years agoSome patches for the NeXT, and other cacheing 68040s.
Guillermo J. Rozas [Thu, 28 Mar 1991 20:08:35 +0000 (20:08 +0000)]
Some patches for the NeXT, and other cacheing 68040s.

34 years agoChange NeXT cache flushing code because "trap #2" does not preserve
Guillermo J. Rozas [Thu, 28 Mar 1991 20:07:53 +0000 (20:07 +0000)]
Change NeXT cache flushing code because "trap #2" does not preserve
%d0.

34 years agoEliminate unnecessary parentheses that were confusing Asmcvt.
Guillermo J. Rozas [Thu, 28 Mar 1991 20:07:19 +0000 (20:07 +0000)]
Eliminate unnecessary parentheses that were confusing Asmcvt.

34 years agoBump symbol table size for HP C compiler.
Guillermo J. Rozas [Thu, 28 Mar 1991 18:45:19 +0000 (18:45 +0000)]
Bump symbol table size for HP C compiler.

34 years agoFix initialization of aggregate variable to accommodate the HP C
Guillermo J. Rozas [Thu, 28 Mar 1991 05:38:47 +0000 (05:38 +0000)]
Fix initialization of aggregate variable to accommodate the HP C
compiler.

34 years agoThe HP compiler can't handle x11base.c unless the symbol table size is
Guillermo J. Rozas [Thu, 28 Mar 1991 05:37:46 +0000 (05:37 +0000)]
The HP compiler can't handle x11base.c unless the symbol table size is
bumped.

34 years agoAdd jinxscheme that includes the dump-world primitive.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:36:55 +0000 (05:36 +0000)]
Add jinxscheme that includes the dump-world primitive.

34 years agoAdd some site conditionalization so that the same binaries will work
Guillermo J. Rozas [Thu, 28 Mar 1991 05:36:14 +0000 (05:36 +0000)]
Add some site conditionalization so that the same binaries will work
for both 7.0 and 7.05 (the sources already did).

Change #error into #include "error:.." because HP's cpp does not
understand it even though it is in the ANSI standard.

34 years agoChange #error into #include "error:.." because HP's cpp does not
Guillermo J. Rozas [Thu, 28 Mar 1991 05:23:11 +0000 (05:23 +0000)]
Change #error into #include "error:.." because HP's cpp does not
understand it even though it is in the ANSI standard.

34 years agoFix non-portable cpp hack in the definition of sighnd_stop.
Guillermo J. Rozas [Thu, 28 Mar 1991 05:22:07 +0000 (05:22 +0000)]
Fix non-portable cpp hack in the definition of sighnd_stop.

34 years agoDon't use temporary messages to flash matching parentheses in the
Chris Hanson [Thu, 28 Mar 1991 00:17:40 +0000 (00:17 +0000)]
Don't use temporary messages to flash matching parentheses in the
minibuffer.

34 years agoFix thinko in `make-comint'.
Chris Hanson [Wed, 27 Mar 1991 23:36:34 +0000 (23:36 +0000)]
Fix thinko in `make-comint'.

34 years agoAdd handling of floating point in assembly language for generic
Guillermo J. Rozas [Tue, 26 Mar 1991 18:46:30 +0000 (18:46 +0000)]
Add handling of floating point in assembly language for generic
arithmetic.

34 years agoStarting loop boundary on heap-clearing loop in allocate_closure was
Guillermo J. Rozas [Tue, 26 Mar 1991 13:14:54 +0000 (13:14 +0000)]
Starting loop boundary on heap-clearing loop in allocate_closure was
incorrect.

34 years agoFixed bug about boa-constructors of record types.
Mark Friedman [Mon, 25 Mar 1991 22:03:47 +0000 (22:03 +0000)]
Fixed bug about boa-constructors of record types.

34 years agoFix bug in CMP and CMPI instructions.
Guillermo J. Rozas [Sun, 24 Mar 1991 23:54:42 +0000 (23:54 +0000)]
Fix bug in CMP and CMPI instructions.

34 years agoConditionalization and changes for 68040 format closures.
Guillermo J. Rozas [Sun, 24 Mar 1991 23:53:41 +0000 (23:53 +0000)]
Conditionalization and changes for 68040 format closures.

34 years agoInitial revision
Guillermo J. Rozas [Sun, 24 Mar 1991 23:53:02 +0000 (23:53 +0000)]
Initial revision

34 years agoChoose alternate MC68k closure format that works on the MC68040.
Guillermo J. Rozas [Sun, 24 Mar 1991 05:12:26 +0000 (05:12 +0000)]
Choose alternate MC68k closure format that works on the MC68040.

34 years agoInitial revision
Guillermo J. Rozas [Sun, 24 Mar 1991 05:11:17 +0000 (05:11 +0000)]
Initial revision

34 years agoread_a_char was not handling \t and \b correctly.
Guillermo J. Rozas [Sun, 24 Mar 1991 05:06:11 +0000 (05:06 +0000)]
read_a_char was not handling \t and \b correctly.

34 years agoFix a problem with allocate_closure: All words must be initialized in
Guillermo J. Rozas [Sun, 24 Mar 1991 03:01:13 +0000 (03:01 +0000)]
Fix a problem with allocate_closure:  All words must be initialized in
order to make the heap parseable.  This is needed by relocate_block
after disk-restore.

34 years agoSpecifying ci_version or ci_processor imply upgrade_cc.
Guillermo J. Rozas [Sun, 24 Mar 1991 01:22:54 +0000 (01:22 +0000)]
Specifying ci_version or ci_processor imply upgrade_cc.
This makes the command lines used for the cross-compiler much terser.

34 years agoCast pointer to avoid compiler warning.
Guillermo J. Rozas [Sun, 24 Mar 1991 01:10:22 +0000 (01:10 +0000)]
Cast pointer to avoid compiler warning.

34 years agoFix allocate_closure.
Guillermo J. Rozas [Sun, 24 Mar 1991 00:46:41 +0000 (00:46 +0000)]
Fix allocate_closure.

34 years agoFix typo in `predict-start-line'.
Chris Hanson [Sat, 23 Mar 1991 02:22:45 +0000 (02:22 +0000)]
Fix typo in `predict-start-line'.

34 years agoSupply missing case in unassigned variable trap.
Chris Hanson [Sat, 23 Mar 1991 01:17:36 +0000 (01:17 +0000)]
Supply missing case in unassigned variable trap.

34 years agoMove cache flushing code out of the 68040 region since it is needed
Guillermo J. Rozas [Fri, 22 Mar 1991 06:28:50 +0000 (06:28 +0000)]
Move cache flushing code out of the 68040 region since it is needed
even when using the 68020 format.

34 years agoMove NOP macro from cmpint.c to cmpgc.h since it is also needed
Guillermo J. Rozas [Fri, 22 Mar 1991 06:27:54 +0000 (06:27 +0000)]
Move NOP macro from cmpint.c to cmpgc.h since it is also needed
elsewhere.

34 years agoMake it compile under HP-UX when
Guillermo J. Rozas [Fri, 22 Mar 1991 04:36:00 +0000 (04:36 +0000)]
Make it compile under HP-UX when
(COMPILER_PROCESSOR_TYPE == COMPILER_MC68040_TYPE).

34 years agoInitial revision
Arthur Gleckler [Fri, 22 Mar 1991 02:03:36 +0000 (02:03 +0000)]
Initial revision

34 years ago* Each group object now has a unique associated buffer, and vice
Chris Hanson [Fri, 22 Mar 1991 00:33:14 +0000 (00:33 +0000)]
* Each group object now has a unique associated buffer, and vice
  versa.  This allows low-level group operations to access
  buffer-local variables associated with the group, such as
  `tab-width'.  New procedures: `group-buffer', `mark-buffer', and
  `group-tab-width'.

* Handling of `truncate-lines' and `tab-width' buffer-local variables
  is fixed.

* Extensive rewriting of redisplay, screen, and image code to squeeze
  a little more performance from it.

* Eliminate truncating buffer output ports, because they were unused,
  and depended on a feature that is no longer viable.

* Code to read files into buffers is redesigned.  Previously it read
  the file into a string, and then inserted the string into the
  buffer.  Now it reads the file directly into the buffer.

* Fix representation of characters in the range 200 to 377 octal.
  Their images are now four-character octal sequences; previously the
  images were the characters themselves.

34 years agoAdd new procedure `extract-and-delete-string', which combines
Chris Hanson [Fri, 22 Mar 1991 00:27:48 +0000 (00:27 +0000)]
Add new procedure `extract-and-delete-string', which combines
`extract-string' and `delete-string' into a single operation.

34 years agoSlight tweak of `group-extract-string' to improve performance.
Chris Hanson [Fri, 22 Mar 1991 00:24:02 +0000 (00:24 +0000)]
Slight tweak of `group-extract-string' to improve performance.

34 years agoEliminate commented-out printing commands. These will be rewritten
Chris Hanson [Fri, 22 Mar 1991 00:21:51 +0000 (00:21 +0000)]
Eliminate commented-out printing commands.  These will be rewritten
later.

34 years agoChanges for MC68040.
Guillermo J. Rozas [Thu, 21 Mar 1991 23:26:47 +0000 (23:26 +0000)]
Changes for MC68040.
Ansification of cmpint.c.

34 years agoInitial revision
Guillermo J. Rozas [Thu, 21 Mar 1991 20:56:57 +0000 (20:56 +0000)]
Initial revision

34 years agoAdd two new cases of foldable expressions, to permit certain string
Chris Hanson [Thu, 21 Mar 1991 09:42:38 +0000 (09:42 +0000)]
Add two new cases of foldable expressions, to permit certain string
operations to be folded.

34 years agoFix bug in Clear_Memory introduced when constant space overwriting
Guillermo J. Rozas [Mon, 18 Mar 1991 21:08:58 +0000 (21:08 +0000)]
Fix bug in Clear_Memory introduced when constant space overwriting
hack was added.  It was fixed in memmag.c, but not here!

34 years agoSome performance improvements in the redisplay code.
Chris Hanson [Sat, 16 Mar 1991 08:14:23 +0000 (08:14 +0000)]
Some performance improvements in the redisplay code.

34 years agoChange screen object: remove operation/preempt-update? and replace it
Chris Hanson [Sat, 16 Mar 1991 08:13:31 +0000 (08:13 +0000)]
Change screen object: remove operation/preempt-update? and replace it
with preemption-modulus and operation/discretionary-flush.  Use this
to speed up inner loop of screen-update.

34 years agoImplement `predict-y-limited' and use it in place of `predict-y' to
Chris Hanson [Sat, 16 Mar 1991 08:11:28 +0000 (08:11 +0000)]
Implement `predict-y-limited' and use it in place of `predict-y' to
guarantee that the bounds on predictions are related to the size of
the window rather than the size of the buffer.

34 years agoInitial revision
Chris Hanson [Sat, 16 Mar 1991 00:03:58 +0000 (00:03 +0000)]
Initial revision

34 years agoThis version of Edwin requires microcode version 11.69 and runtime
Chris Hanson [Sat, 16 Mar 1991 00:03:18 +0000 (00:03 +0000)]
This version of Edwin requires microcode version 11.69 and runtime
version 14.113.

* Implement Emacs-style subprocesses, RCS support, and Shell mode.

* Add code to M-x save-buffers-kill-edwin to request confirmation when
  there are modified buffers or active processes.

* Change default handling of Scheme errors that occur while Edwin is
  running (i.e. errors in the Edwin implementation): such errors are
  now caught, causing a message to be written to the minibuffer, and
  aborting the current command.  This behavior may be overridden by
  the Scheme variable `debug-internal-errors?' or the Edwin variable
  `debug-on-internal-error'.

* Change M-x find-alternate-file not to signal an error if the current
  buffer is not visiting a file.

* Change Scheme Interaction mode to have input history with same
  commands as Shell mode; both are based on Olin Shivers' comint mode.

* Change buffer to have default-directory field that is separate from
  the pathname and truename fields.  All buffers have a default
  directory, even if they aren't visiting files.  Change the `cd'
  command to change a buffer's default directory.  New command `pwd'
  shows you the default directory of the current buffer.

* Fix bug in `variable-local-value'.  Rewrite implementation of local
  variable bindings to improve performance.

* Change filename prompting and completion procedures to make them
  more flexible and modular.

34 years agoRewrite `invoke-variable-assignment-daemons!' to improve performance.
Chris Hanson [Fri, 15 Mar 1991 23:49:11 +0000 (23:49 +0000)]
Rewrite `invoke-variable-assignment-daemons!' to improve performance.

34 years agoFix bug in redisplay: when narrowing or widening a buffer, its windows
Chris Hanson [Fri, 15 Mar 1991 23:48:02 +0000 (23:48 +0000)]
Fix bug in redisplay: when narrowing or widening a buffer, its windows
sometimes got confused, which could produce various errors.

34 years agoChange most auto-loading files to be loaded when Edwin is built. Only
Chris Hanson [Fri, 15 Mar 1991 23:40:26 +0000 (23:40 +0000)]
Change most auto-loading files to be loaded when Edwin is built.  Only
a few rarely used files remain auto-loading now.

34 years agoNew procedures provide support for side-effects on permanent marks:
Chris Hanson [Fri, 15 Mar 1991 23:34:14 +0000 (23:34 +0000)]
New procedures provide support for side-effects on permanent marks:
    set-mark-index!
    move-mark-to!
    mark-right-inserting-copy
    mark-left-inserting-copy

34 years agoUse `modulo' instead of `remainder' to force ring indexes into the
Chris Hanson [Fri, 15 Mar 1991 23:30:49 +0000 (23:30 +0000)]
Use `modulo' instead of `remainder' to force ring indexes into the
right range.  `remainder' is incorrect if the argument is negative.

34 years agoFix fencepost error in `re-compile-char-set'.
Chris Hanson [Fri, 15 Mar 1991 23:28:50 +0000 (23:28 +0000)]
Fix fencepost error in `re-compile-char-set'.

34 years agoAdd operations to do regular-expression search and match on strings.
Chris Hanson [Fri, 15 Mar 1991 23:27:48 +0000 (23:27 +0000)]
Add operations to do regular-expression search and match on strings.

34 years ago* Fix `define-named-structure' to make the definitions of slot indices
Chris Hanson [Fri, 15 Mar 1991 23:26:19 +0000 (23:26 +0000)]
* Fix `define-named-structure' to make the definitions of slot indices
  integrable.

* Change `define-command' to give a meaningful debugging name to the
  procedure that implements the command.

* Change `define-variable' to accept an optional fourth argument,
  which is a value validity test.

34 years agoChange callers of `UX_select_input' to call it when the operating
Chris Hanson [Thu, 14 Mar 1991 23:03:12 +0000 (23:03 +0000)]
Change callers of `UX_select_input' to call it when the operating
system makes it available.  Previously they attempted to predict when
it would be needed, which sometimes failed and is in general
unmodular.

34 years agoDelete all subprocesses when exiting Scheme.
Chris Hanson [Thu, 14 Mar 1991 10:14:24 +0000 (10:14 +0000)]
Delete all subprocesses when exiting Scheme.

34 years agoAdd support to send SIGHUP (hangup) signal to subprocesses.
Chris Hanson [Thu, 14 Mar 1991 04:29:29 +0000 (04:29 +0000)]
Add support to send SIGHUP (hangup) signal to subprocesses.
Use of this support requires microcode 11.68 or later (but if not used
older microcodes will work.)

34 years agoDon't print hash number for value that is a number.
Chris Hanson [Thu, 14 Mar 1991 04:27:13 +0000 (04:27 +0000)]
Don't print hash number for value that is a number.

34 years agoFix typo.
Chris Hanson [Thu, 14 Mar 1991 04:26:42 +0000 (04:26 +0000)]
Fix typo.

34 years ago* New primitives `process-hangup' and `pty-master-hangup' support
Chris Hanson [Thu, 14 Mar 1991 04:23:26 +0000 (04:23 +0000)]
* New primitives `process-hangup' and `pty-master-hangup' support
  sending of SIGHUP to subprocesses.

* Bug fixes for channel registering and selection.

34 years agoInclude RESTART in the list of USER-GLOBAL-NAMES, variables available
Arthur Gleckler [Tue, 12 Mar 1991 23:18:51 +0000 (23:18 +0000)]
Include RESTART in the list of USER-GLOBAL-NAMES, variables available
after (DISABLE-LANGUAGE-FEATURES).  This means students will have
access to it.

34 years agoAdd new procedures for microcode 11.67: `channel-register',
Chris Hanson [Mon, 11 Mar 1991 23:48:20 +0000 (23:48 +0000)]
Add new procedures for microcode 11.67: `channel-register',
`channel-unregister', `channel-registered?',
`channel-select-then-read', and `subprocess-global-status-tick'.

34 years ago* New primitives `channel-register', `channel-unregister', and
Chris Hanson [Mon, 11 Mar 1991 23:43:28 +0000 (23:43 +0000)]
* New primitives `channel-register', `channel-unregister', and
  `channel-registered?' allow registering of a set of channels that is
  to be watched for input at certain points.

* New primitive `channel-select-then-read' is like `channel-read', but
  returns #T if the given channel has no input but some other
  registered channel has some input instead.

* Primitive `x-display-process-events' now returns #T if there are no
  input events but a registered channel has some input.

* Primitive `make-subprocess' now permits the "inheritance" of
  Scheme's control terminal even when there is none.

* New primitive `process-status-sync-all' synchronizes the status of
  all subprocesses: it returns #T iff some status has changed since
  the last call to this primitive.

34 years agoFix typo in handler for system-call errors.
Chris Hanson [Mon, 11 Mar 1991 23:33:03 +0000 (23:33 +0000)]
Fix typo in handler for system-call errors.

34 years agoFix typo in `error:divide-by-zero'.
Chris Hanson [Mon, 11 Mar 1991 23:31:21 +0000 (23:31 +0000)]
Fix typo in `error:divide-by-zero'.

34 years agoChange keyboard input to use special operations defined by the
Chris Hanson [Mon, 11 Mar 1991 01:15:02 +0000 (01:15 +0000)]
Change keyboard input to use special operations defined by the
display, rather than input ports with standard input operations.

34 years agoChange method by which port errors are signalled. Previously a
Chris Hanson [Sun, 10 Mar 1991 22:43:02 +0000 (22:43 +0000)]
Change method by which port errors are signalled.  Previously a
condition handler was bound for every I/O operation, which made I/O
painfully slow as each binding cost at least one hundred machine
instructions.  Now, an I/O channel can have an associated port, and
when a system-call error occurs, the file descriptor associated with
the error is mapped back to the associated port, if any, and a port
error is signalled instead.

34 years agoDon't generate full cref by default.
Chris Hanson [Sun, 10 Mar 1991 05:21:17 +0000 (05:21 +0000)]
Don't generate full cref by default.

34 years agoAdd `syscall_select'.
Chris Hanson [Sun, 10 Mar 1991 01:19:33 +0000 (01:19 +0000)]
Add `syscall_select'.

34 years agoSubprocess support in this version requires microcode version 11.66 or
Chris Hanson [Sat, 9 Mar 1991 21:33:43 +0000 (21:33 +0000)]
Subprocess support in this version requires microcode version 11.66 or
later.

* Subprocess abstraction changed to use microcode's new process status
  synchronization.  The procedure `subprocess-status' causes the
  status information to be synchronized; subsequently
  `subprocess-exit-reason' returns the reason corresponding to that
  status.  Likewise, the new procedure `subprocess-status-tick'
  returns an object representing the time-stamp associated with this
  status; when the status changes, the tick is changed to a new value.
  Ticks are unique objects that are comparable using `eq?'; they are
  not ordered.

* New procedure `subprocess-remove!' removes a property from a
  subprocess (maybe this is a bad name?).

34 years ago* Process status now synchronized as follows: new primitive
Chris Hanson [Sat, 9 Mar 1991 21:11:10 +0000 (21:11 +0000)]
* Process status now synchronized as follows: new primitive
  `process-status-sync' freezes the status and exit reason, returning
  #T if it has changed since the last synchronization, or #F if it
  hasn't changed.  Primitives `process-status' and `process-reason'
  return the frozen status information but do not affect the
  synchronization.

* Primitives `process-wait' and `process-continue-foreground' no
  longer return a value.  Previously they returned the process status.

34 years agoPermit a process to be deleted regardless of its status.
Chris Hanson [Fri, 8 Mar 1991 19:50:44 +0000 (19:50 +0000)]
Permit a process to be deleted regardless of its status.

34 years agoChange procedures that return a process status to return just the
Chris Hanson [Fri, 8 Mar 1991 03:13:36 +0000 (03:13 +0000)]
Change procedures that return a process status to return just the
status and not the exit reason.  Add new procedure
`subprocess-exit-reason' to get that information.

34 years agoChange `process-reason' primitive to return 0 when the process is
Chris Hanson [Fri, 8 Mar 1991 03:10:16 +0000 (03:10 +0000)]
Change `process-reason' primitive to return 0 when the process is
running, rather than signalling an error.

34 years agoAdd new primitive `have-ptys?'.
Chris Hanson [Fri, 8 Mar 1991 01:41:48 +0000 (01:41 +0000)]
Add new primitive `have-ptys?'.

34 years agoRetain `filename' and `arguments' fields of process in subprocess
Chris Hanson [Thu, 7 Mar 1991 04:31:16 +0000 (04:31 +0000)]
Retain `filename' and `arguments' fields of process in subprocess
structure, and provide accessors to get them.  Add a properties list
to the subprocess structure.

34 years agoDon't show hash number when REPL value is an interned symbol.
Chris Hanson [Wed, 6 Mar 1991 23:03:37 +0000 (23:03 +0000)]
Don't show hash number when REPL value is an interned symbol.

34 years agoFix stack-address primitives to work on machines that don't have
Chris Hanson [Wed, 6 Mar 1991 22:57:31 +0000 (22:57 +0000)]
Fix stack-address primitives to work on machines that don't have
a trivial mapping between address and datum.

34 years agoUpdate for new error system and changes to REPL names.
Chris Hanson [Wed, 6 Mar 1991 21:12:23 +0000 (21:12 +0000)]
Update for new error system and changes to REPL names.