mit-scheme.git
33 years agoProtoize headers.
Guillermo J. Rozas [Wed, 15 Jan 1992 03:25:38 +0000 (03:25 +0000)]
Protoize headers.

33 years agoProtoize headers.
Guillermo J. Rozas [Wed, 15 Jan 1992 02:37:02 +0000 (02:37 +0000)]
Protoize headers.

33 years agoChange date.
Guillermo J. Rozas [Wed, 15 Jan 1992 02:23:59 +0000 (02:23 +0000)]
Change date.

33 years agoprotoize headers.
Guillermo J. Rozas [Wed, 15 Jan 1992 02:22:53 +0000 (02:22 +0000)]
protoize headers.

33 years agoFix parsing problems in the stub section.
Guillermo J. Rozas [Tue, 14 Jan 1992 19:32:40 +0000 (19:32 +0000)]
Fix parsing problems in the stub section.

33 years agoAdd #include "ansidecl.h" to the section with the stubs for when there
Guillermo J. Rozas [Tue, 14 Jan 1992 19:24:18 +0000 (19:24 +0000)]
Add #include "ansidecl.h" to the section with the stubs for when there
is no compiler.

33 years agoMove definitions of linkage kinds outside the HAS_COMPILER_SUPPORT
Guillermo J. Rozas [Tue, 14 Jan 1992 19:23:41 +0000 (19:23 +0000)]
Move definitions of linkage kinds outside the HAS_COMPILER_SUPPORT
#ifdef.

33 years agoDon't show upper-case aliases of lower-case comtab bindings in
Chris Hanson [Tue, 14 Jan 1992 18:34:34 +0000 (18:34 +0000)]
Don't show upper-case aliases of lower-case comtab bindings in
bindings lists.

33 years agoFix handling of compressed backup files in Dired.
Chris Hanson [Mon, 13 Jan 1992 20:15:34 +0000 (20:15 +0000)]
Fix handling of compressed backup files in Dired.

33 years agoUse new read/write file method hooks to implement transparent support
Chris Hanson [Mon, 13 Jan 1992 19:20:25 +0000 (19:20 +0000)]
Use new read/write file method hooks to implement transparent support
for compressed files.  Now Edwin will automatically uncompress a
compressed file when it is read in, and recompress it when it is
written back out.  Backups are handled in the usual fashion, except
that the backup file name ends in "~.Z" instead of ".Z~"; this allows
compress and uncompress to work normally with backup files.

33 years agoAdd new variables READ-FILE-METHODS and WRITE-FILE-METHODS. These
Chris Hanson [Mon, 13 Jan 1992 19:17:59 +0000 (19:17 +0000)]
Add new variables READ-FILE-METHODS and WRITE-FILE-METHODS.  These
provide hooks for implementing alternate methods to read or write
files.  The alternate methods can be active only for particular
buffers or files, if that is desired.

33 years agoWhen salvaging buffers, don't use WRITE-REGION, because it does
Chris Hanson [Mon, 13 Jan 1992 19:15:42 +0000 (19:15 +0000)]
When salvaging buffers, don't use WRITE-REGION, because it does
prompting and so forth.  Use the lower-level GROUP-WRITE-TO-FILE which
does nothing special.

33 years agoAdd new procedures CALL-WITH-TEMPORARY-BUFFER and NEW-BUFFER-NAME.
Chris Hanson [Mon, 13 Jan 1992 19:14:33 +0000 (19:14 +0000)]
Add new procedures CALL-WITH-TEMPORARY-BUFFER and NEW-BUFFER-NAME.

33 years agoDisallow invocation of editor from within itself.
Chris Hanson [Fri, 10 Jan 1992 22:26:54 +0000 (22:26 +0000)]
Disallow invocation of editor from within itself.

33 years agoIn SKIP-COMMENTS&LABELS: COLON-LINE-END should be ignored unless it
Chris Hanson [Fri, 10 Jan 1992 21:16:53 +0000 (21:16 +0000)]
In SKIP-COMMENTS&LABELS: COLON-LINE-END should be ignored unless it
is explicitly set by the loop.  Initialize it to #F, and test it
before use.

33 years agoChanged start value of techinfo-history-list.
Brian A. LaMacchia [Fri, 10 Jan 1992 19:03:41 +0000 (19:03 +0000)]
Changed start value of techinfo-history-list.

33 years agoAdded TechInfo mode (techinfo.scm) as an autoload.
Brian A. LaMacchia [Fri, 10 Jan 1992 18:54:57 +0000 (18:54 +0000)]
Added TechInfo mode (techinfo.scm) as an autoload.

33 years agoInitial revision
Brian A. LaMacchia [Fri, 10 Jan 1992 18:47:56 +0000 (18:47 +0000)]
Initial revision

33 years agoThere was an bug in SKIP-COMMENTS&LABELS where COLON-LINE-END
Mark Friedman [Thu, 9 Jan 1992 23:10:12 +0000 (23:10 +0000)]
There was an bug in SKIP-COMMENTS&LABELS where COLON-LINE-END
was initialized to 0. I have initialized it to what seems to be the
obvious thing. It seems to work, but I really have no idea whether it
is correct.

33 years ago*** empty log message ***
Chris Hanson [Thu, 9 Jan 1992 17:55:56 +0000 (17:55 +0000)]
*** empty log message ***

33 years agoFix continuation-browser bugs introduced by repl mode.
Chris Hanson [Thu, 9 Jan 1992 17:55:35 +0000 (17:55 +0000)]
Fix continuation-browser bugs introduced by repl mode.

33 years agoTotally new implementation of comtabs. Now DEFINE-KEY and
Chris Hanson [Thu, 9 Jan 1992 17:54:28 +0000 (17:54 +0000)]
Totally new implementation of comtabs.  Now DEFINE-KEY and
DEFINE-PREFIX-KEY handle lower-case letters specially: if the
corresponding upper-case letter is undefined, it is converted into an
alias for the lower-case letter.  Additional changes:
DEFINE-DEFAULT-KEY eliminated (it was unused); comtabs support aliases
much like Emacs does; internal structure of comtab varies depending on
the contents of the comtab.

33 years agoAdjust formatting of pages. Change KEY<? so that keys are sorted
Chris Hanson [Thu, 9 Jan 1992 17:49:31 +0000 (17:49 +0000)]
Adjust formatting of pages.  Change KEY<? so that keys are sorted
first by bucky bits, and then by key code.  A special key is always
greater than an ordinary character with the same bucky bits.

33 years ago* Change MAKE-MODE to accept parent mode rather than list of comtabs.
Chris Hanson [Thu, 9 Jan 1992 17:47:27 +0000 (17:47 +0000)]
* Change MAKE-MODE to accept parent mode rather than list of comtabs.

* Rename MODE-COMTAB to MINOR-MODE-COMTAB.

* New procedures MINOR-MODE? and MAJOR-MODE?.

* Eliminate NAME->MODE; use ->MODE instead.

33 years agoAdded args to calls to rmail-summary-delete-message-forward.
Brian A. LaMacchia [Wed, 8 Jan 1992 16:46:42 +0000 (16:46 +0000)]
Added args to calls to rmail-summary-delete-message-forward.

33 years agoAdded prefix args to delete-forward, delete-backward,
Brian A. LaMacchia [Wed, 8 Jan 1992 16:11:28 +0000 (16:11 +0000)]
Added prefix args to delete-forward, delete-backward,
undelete-forward and undelete-backward.

33 years ago*** empty log message ***
Brian A. LaMacchia [Wed, 8 Jan 1992 15:24:29 +0000 (15:24 +0000)]
*** empty log message ***

33 years agoDon't export COMTAB-DISPATCH-ALISTS from "comtab".
Chris Hanson [Wed, 8 Jan 1992 06:26:30 +0000 (06:26 +0000)]
Don't export COMTAB-DISPATCH-ALISTS from "comtab".

33 years agoInitial revision
Guillermo J. Rozas [Tue, 7 Jan 1992 16:53:10 +0000 (16:53 +0000)]
Initial revision

33 years agoMade rmail-buffer, rmail-summary-buffer and rmail-summary-vector
Brian A. LaMacchia [Tue, 7 Jan 1992 16:47:33 +0000 (16:47 +0000)]
Made rmail-buffer, rmail-summary-buffer and rmail-summary-vector
per-buffer variables.

33 years agoAdded confirmation prompts for SUSPEND-EDWIN and SUSPEND-SCHEME.
Mark Friedman [Mon, 6 Jan 1992 21:50:40 +0000 (21:50 +0000)]
Added confirmation prompts for SUSPEND-EDWIN and SUSPEND-SCHEME.

33 years agoFix minor bug in M-x narrow-to-page that caused the last line of the
Chris Hanson [Mon, 6 Jan 1992 20:28:30 +0000 (20:28 +0000)]
Fix minor bug in M-x narrow-to-page that caused the last line of the
last page in a buffer to be excluded from the narrowing region if it
did not end in newline.

33 years agoFix another minor bug in FILL-REGION-AS-PARAGRAPH.
Chris Hanson [Wed, 1 Jan 1992 02:18:28 +0000 (02:18 +0000)]
Fix another minor bug in FILL-REGION-AS-PARAGRAPH.

33 years agoFix typos in previous changes.
Arthur Gleckler [Sat, 21 Dec 1991 00:17:52 +0000 (00:17 +0000)]
Fix typos in previous changes.

33 years agoChange code for arrays of `double' floating-point numbers so that they
Chris Hanson [Fri, 20 Dec 1991 22:49:23 +0000 (22:49 +0000)]
Change code for arrays of `double' floating-point numbers so that they
work on machines with floating-point alignment constraints.

33 years agoFinish documenting the new X graphics operations COPY-AREA and
Arthur Gleckler [Fri, 20 Dec 1991 16:04:41 +0000 (16:04 +0000)]
Finish documenting the new X graphics operations COPY-AREA and
FONT-STRUCTURE and the extractor procedures associated with the latter.

33 years agoInitial revision
Arthur Gleckler [Fri, 20 Dec 1991 15:43:26 +0000 (15:43 +0000)]
Initial revision

33 years agoFix braino in DEFINE-STRUCTURE.
Arthur Gleckler [Thu, 19 Dec 1991 21:58:55 +0000 (21:58 +0000)]
Fix braino in DEFINE-STRUCTURE.

33 years agoExtend X graphics support to handle the new primitives
Arthur Gleckler [Thu, 19 Dec 1991 20:51:42 +0000 (20:51 +0000)]
Extend X graphics support to handle the new primitives
X-FONT-STRUCTURE and X-GRAPHICS-COPY-AREA.

Add a selector operations for X-FONT-STRUCTURE, the object returned
by the X-FONT-STRUCTURE operation, and for X-CHARACTER-BOUNDS, part
of the X-FONT-STRUCTURE.

33 years agoAdd graphics primitives:
Arthur Gleckler [Thu, 19 Dec 1991 19:53:03 +0000 (19:53 +0000)]
Add graphics primitives:

  X-FONT-STRUCTURE
    Given an X display and the name of a font, return a Scheme
    equivalent of the X font structure, which describes the dimensions
    of each character, etc.

  X-GRAPHICS-COPY-AREA
    Given an X window and coordinates describing two rectangles in it,
    move the contents of the first rectangle to the other.

33 years agoUpdate for changes to CMDL.
Chris Hanson [Mon, 16 Dec 1991 21:20:38 +0000 (21:20 +0000)]
Update for changes to CMDL.

33 years agoDo not print a flonum array as a number.
Chris Hanson [Tue, 10 Dec 1991 23:30:58 +0000 (23:30 +0000)]
Do not print a flonum array as a number.

33 years agoSimplify GC daemon triggering loop to reduce overhead during GC.
Chris Hanson [Tue, 10 Dec 1991 23:24:16 +0000 (23:24 +0000)]
Simplify GC daemon triggering loop to reduce overhead during GC.

33 years agoFix bugs in frexp: when scaling up or down, was not making sure that
Chris Hanson [Sat, 7 Dec 1991 01:55:51 +0000 (01:55 +0000)]
Fix bugs in frexp: when scaling up or down, was not making sure that
state variable did not overflow or underflow.

33 years agoFix unref variable.
sasha [Fri, 6 Dec 1991 23:20:06 +0000 (23:20 +0000)]
Fix unref variable.

33 years agoChanges to match runtime 14.142.
sasha [Fri, 6 Dec 1991 23:14:19 +0000 (23:14 +0000)]
Changes to match runtime 14.142.

33 years agoEliminate random blank line being inserted before a forwarded
Chris Hanson [Fri, 6 Dec 1991 00:58:41 +0000 (00:58 +0000)]
Eliminate random blank line being inserted before a forwarded
message.

33 years agoAdded support for an evaluation-output-receiver which receives the
Mark Friedman [Thu, 5 Dec 1991 16:20:16 +0000 (16:20 +0000)]
Added support for an evaluation-output-receiver which receives the
value and output resulting from evaluation.

33 years agoMade consistent with new evaluation commands.
Mark Friedman [Thu, 5 Dec 1991 16:18:51 +0000 (16:18 +0000)]
Made consistent with new evaluation commands.

33 years agoChange to match runtime 14.142.
Chris Hanson [Mon, 2 Dec 1991 18:46:57 +0000 (18:46 +0000)]
Change to match runtime 14.142.

33 years agoFix typo.
Chris Hanson [Tue, 26 Nov 1991 22:23:53 +0000 (22:23 +0000)]
Fix typo.

33 years agoArthur ran into a problem where kill-string seemed to be hanging.
Brian A. LaMacchia [Tue, 26 Nov 1991 21:18:56 +0000 (21:18 +0000)]
Arthur ran into a problem where kill-string seemed to be hanging.
Since kill-string wasn't necessary, it was changed to delete-string (the
kill ring would never be used).

33 years agoSupport for Bochser mode.
Mark Friedman [Tue, 26 Nov 1991 20:11:34 +0000 (20:11 +0000)]
Support for Bochser mode.

33 years agoUpdate for new pathname implementation.
Chris Hanson [Tue, 26 Nov 1991 08:36:01 +0000 (08:36 +0000)]
Update for new pathname implementation.

33 years agoRequires runtime 14.142
Chris Hanson [Tue, 26 Nov 1991 08:03:42 +0000 (08:03 +0000)]
Requires runtime 14.142

* Replace scheme-interaction mode by new inferior-repl mode.  The new
  mode runs a standard REP loop as an inferior coprocess, and supports
  both the runtime system's debugger and edwin's debugger.

* Transcript buffer used to be same as interaction buffer; now it is a
  separate buffer.  In addition, it records input expressions as well
  as the output.

* Extensive reorganization of debugger.  Only substantive change is
  for compatibility with changes to debugger in runtime system.
  However, the code is now organized in a somewhat top-down fashion,
  which should aid comprehension.

* Delete FRESH-LINE and FRESH-LINES procedures.  Former is supported
  in runtime system, latter is random.

* Editor cmdl changed to use new interface.

33 years agoFix GUARANTEE-NEWLINES so that it inserts the minimum number of
Chris Hanson [Tue, 26 Nov 1991 07:58:17 +0000 (07:58 +0000)]
Fix GUARANTEE-NEWLINES so that it inserts the minimum number of
newlines to guarantee that there are N newlines to the left of point.
Fix INSERT-REGION to work even when the region is being inserted back
into the same buffer.

33 years agoChange page motion commands to use MOVE-THING procedure, and to signal
Chris Hanson [Tue, 26 Nov 1991 07:53:05 +0000 (07:53 +0000)]
Change page motion commands to use MOVE-THING procedure, and to signal
failure at beginning and end of buffer.

33 years agoSUBSTITUTE-COMMAND-KEYS no longer takes optional substring range
Chris Hanson [Tue, 26 Nov 1991 07:50:58 +0000 (07:50 +0000)]
SUBSTITUTE-COMMAND-KEYS no longer takes optional substring range
arguments, but instead takes an optional buffer argument.  The buffer
specifies which comtabs to use for the substitution.

33 years agoInitial revision
Chris Hanson [Tue, 26 Nov 1991 07:45:00 +0000 (07:45 +0000)]
Initial revision

33 years agoChanges in appearance:
Chris Hanson [Tue, 26 Nov 1991 07:07:31 +0000 (07:07 +0000)]
Changes in appearance:

* Loading, dumping, and warning messages now preceded by ";".

* New prompts for debugger, where, error, and breakpoint.

* REP loops started by the debugger and where no longer have
  distinctive prompts.  Now they use the standard prompt.

* PROMPT-FOR-COMMAND-CHAR now echos the character it is prompting for.

Changes to port implementation:

* Standard output procedures like WRITE no longer flush the output
  port after they write to it.  Instead, they invoke the new operation
  DISCRETIONARY-FLUSH-OUTPUT (if it exists).  At present, only the
  console defines this new operation to do anything -- thus the
  console behaves the same as before, unlike other ports.  The new
  procedure FLUSH-OUTPUT is used to explicitly flush output ports.

* New port operations control the blocking and terminal modes of
  ports:

    PORT/INPUT-BLOCKING-MODE
    PORT/SET-INPUT-BLOCKING-MODE
    PORT/WITH-INPUT-BLOCKING-MODE

    PORT/OUTPUT-BLOCKING-MODE
    PORT/SET-OUTPUT-BLOCKING-MODE
    PORT/WITH-OUTPUT-BLOCKING-MODE

    PORT/INPUT-TERMINAL-MODE
    PORT/SET-INPUT-TERMINAL-MODE
    PORT/WITH-INPUT-TERMINAL-MODE

    PORT/OUTPUT-TERMINAL-MODE
    PORT/SET-OUTPUT-TERMINAL-MODE
    PORT/WITH-OUTPUT-TERMINAL-MODE

* New input-port operation READ allows the port to define how a READ
  is performed.  This permits the implementation of ports that read
  s-expressions directly.

Changes to CMDL/REPL implementation:

* CMDL-MESSAGE/ACTIVE now passes a port to its argument, rather than a
  cmdl object.

* Incompatible changes to arguments and return values of PUSH-CMDL,
  PUSH-REPL, MAKE-CMDL.  The procedures no longer start the cmdl that
  they create, but just return it.  It must be explicitly started by
  calling one of the new procedures CMDL/START or REPL/START.

* cmdl objects now have just one bidirectional port instead of two
  unidirectional ports.

* The prompting procedures PROMPT-FOR-EXPRESSION,
  PROMPT-FOR-COMMAND-CHAR, and PROMPT-FOR-CONFIRMATION no longer take
  a cmdl object as their optional second argument -- instead they take
  a port.  The new procedure PROMPT-FOR-COMMAND-EXPRESSION is similar.

* cmdl objects now support custom operations of various kinds, to
  allow the customization of behavior.  The previous spawn-child
  special operation has been eliminated.

Changes to DEBUG/WHERE implementation:

* Debugger command interface now passes a port to each command
  procedure, in addition to the state object.  The current input and
  output ports are not bound to anything in particular while the
  debugger is running.

* Arguments to debugger command procedures are now optional, so that
  using X mode in the debugger is more convenient.

Changes to various hooks:

* Most of the hooks that were used by the Emacs interface have been
  eliminated.  That functionality is now provided by custom port
  operations.  Hooks that were affected:

debugger output
prompting
run and gc lights
repl presentation

* Definition of keyboard interrupt hooks changed: if the hooks are #F,
  they are ignored, otherwise they are invoked.  If the interrupt
  handler hooks return, that means they declined to handle the
  interrupt, and the standard action is taken.

* HOOK/BEFORE-RESTART has been replaced by HOOK/INVOKE-RESTART.  The
  new hook is used by INVOKE-RESTART as well as
  INVOKE-RESTART-INTERACTIVELY, and it defaults to APPLY.

* PARSE-OBJECT/INTERNAL and PARSE-OBJECTs/INTERNAL eliminated.

33 years agoPut semicolon in front of "Automagically impurifying..." message.
Chris Hanson [Tue, 26 Nov 1991 06:53:41 +0000 (06:53 +0000)]
Put semicolon in front of "Automagically impurifying..." message.

33 years agoUse fixnum arithmetic to improve performance.
Chris Hanson [Tue, 26 Nov 1991 06:50:09 +0000 (06:50 +0000)]
Use fixnum arithmetic to improve performance.
Add RECORD-MODIFIER as alias for RECORD-UPDATER.

33 years agoChange (CMDL/OUTPUT-PORT (NEAREST-CMDL)) to (NEAREST-CMDL/PORT).
Chris Hanson [Tue, 26 Nov 1991 06:43:48 +0000 (06:43 +0000)]
Change (CMDL/OUTPUT-PORT (NEAREST-CMDL)) to (NEAREST-CMDL/PORT).

33 years agoEliminate references to CMDL-MESSAGE/STANDARD.
Chris Hanson [Tue, 26 Nov 1991 06:32:14 +0000 (06:32 +0000)]
Eliminate references to CMDL-MESSAGE/STANDARD.

33 years agoFix run-on sentence:
Arthur Gleckler [Mon, 25 Nov 1991 21:51:20 +0000 (21:51 +0000)]
Fix run-on sentence:
  "Tags file has changed, read new contents"
with semicolon.

33 years agoUpdate interface to match change to generated code of closure header.
Chris Hanson [Mon, 25 Nov 1991 13:35:42 +0000 (13:35 +0000)]
Update interface to match change to generated code of closure header.

33 years agoFix bug: If a telnet buffer's process dies and is reused for another
Arthur Gleckler [Fri, 22 Nov 1991 20:29:27 +0000 (20:29 +0000)]
Fix bug: If a telnet buffer's process dies and is reused for another
invocation of telnet, if the buffer is already selected, Edwin
complains that there is no process for the buffer.

33 years agoFix NAME-LAST-KBD-MACRO; it was passing a string to MAKE-COMMAND
Arthur Gleckler [Fri, 22 Nov 1991 06:58:36 +0000 (06:58 +0000)]
Fix NAME-LAST-KBD-MACRO; it was passing a string to MAKE-COMMAND
instead of a symbol.

33 years agoChange procedures MOVE-THING, MOVE-THING-SAVING-POINT, MARK-THING, and
Chris Hanson [Thu, 21 Nov 1991 10:38:40 +0000 (10:38 +0000)]
Change procedures MOVE-THING, MOVE-THING-SAVING-POINT, MARK-THING, and
KILL-THING to take an additional argument that specifies the limit
behavior of the motion procedure.  This is needed because these
procedures were being used in contexts that required different
behavior -- and because they didn't supply it, some of the usages were
incorrect.

33 years agoWARN procedure doesn't care what the default output port is.
Chris Hanson [Thu, 21 Nov 1991 10:02:56 +0000 (10:02 +0000)]
WARN procedure doesn't care what the default output port is.

33 years agoFix bug: uninitialized variable `lwd'.
Chris Hanson [Thu, 21 Nov 1991 09:48:12 +0000 (09:48 +0000)]
Fix bug: uninitialized variable `lwd'.

33 years agoAdded support for modified (i.e. with shift, control or meta) mouse buttons.
Mark Friedman [Tue, 19 Nov 1991 19:44:15 +0000 (19:44 +0000)]
Added support for modified (i.e. with shift, control or meta) mouse buttons.

33 years agoReplace an instance of %a4 with dlink.
Guillermo J. Rozas [Fri, 15 Nov 1991 22:31:39 +0000 (22:31 +0000)]
Replace an instance of %a4 with dlink.

33 years agoInitial revision
Chris Hanson [Fri, 15 Nov 1991 05:19:03 +0000 (05:19 +0000)]
Initial revision

33 years agoRedesign ports. New design supports bidirectional ports. Old code
Chris Hanson [Fri, 15 Nov 1991 05:15:24 +0000 (05:15 +0000)]
Redesign ports.  New design supports bidirectional ports.  Old code
should continue to work, with two (unlikely) exceptions: the
input/output port pairs for sockets and processes are now implemented
as bidirectional ports, and closing one of the ports automatically
closes the other as well.

* New procedures:

CLOSE-PORT
I/O-PORT?
MAKE-GENERIC-I/O-PORT
MAKE-I/O-PORT
OPEN-I/O-FILE
PORT/COPY
PORT/INPUT-CHANNEL
PORT/OPERATION
PORT/OPERATION-NAMES
PORT/OUTPUT-CHANNEL
PORT/STATE
PORT?
SET-PORT/STATE!
SUBPROCESS-I/O-PORT

* New global variable CONSOLE-I/O-PORT identifies the bidirectional
  port that communicates with Scheme's console.  CONSOLE-INPUT-PORT
  and CONSOLE-OUTPUT-PORT are initially EQ? to this port.

* Obsolete procedures:

Old name New name
---------------------------- --------------------
INPUT-PORT/CHANNEL PORT/INPUT-CHANNEL
INPUT-PORT/COPY PORT/COPY
INPUT-PORT/CUSTOM-OPERATION PORT/OPERATION
INPUT-PORT/OPERATION PORT/OPERATION
INPUT-PORT/OPERATION-NAMES PORT/OPERATION-NAMES
INPUT-PORT/STATE PORT/STATE
OUTPUT-PORT/CHANNEL PORT/OUTPUT-CHANNEL
OUTPUT-PORT/COPY PORT/COPY
OUTPUT-PORT/CUSTOM-OPERATION PORT/OPERATION
OUTPUT-PORT/OPERATION PORT/OPERATION
OUTPUT-PORT/OPERATION-NAMES PORT/OPERATION-NAMES
OUTPUT-PORT/STATE PORT/STATE
SET-INPUT-PORT/STATE! SET-PORT/STATE!
SET-OUTPUT-PORT/STATE! SET-PORT/STATE!
SUBPROCESS-INPUT-PORT SUBPROCESS-I/O-PORT
SUBPROCESS-OUTPUT-PORT SUBPROCESS-I/O-PORT

  For now these procedures still exist.

* Obsolete input-port operations:

Old name New name
--------------- ---------------------
BUFFER-SIZE INPUT-BUFFER-SIZE
BUFFERED-CHARS BUFFERED-INPUT-CHARS
CHANNEL INPUT-CHANNEL
SET-BUFFER-SIZE SET-INPUT-BUFFER-SIZE

  INPUT-PORT/OPERATION and INPUT-PORT/CUSTOM-OPERATION perform these
  translations so your programs should continue to work.

* Obsolete output-port operations:

Old name New name
--------------- ---------------------
BUFFER-SIZE OUTPUT-BUFFER-SIZE
BUFFERED-CHARS BUFFERED-OUTPUT-CHARS
CHANNEL OUTPUT-CHANNEL
SET-BUFFER-SIZE SET-OUTPUT-BUFFER-SIZE

  OUTPUT-PORT/OPERATION and OUTPUT-PORT/CUSTOM-OPERATION perform these
  translations so your programs should continue to work.

* The ASSOCIATED-PORT operation is no longer implemented by any
  runtime system port.  Ports that previously supported this operation
  are now bidirectional.

* WITH-INPUT-FROM-FILE and WITH-OUTPUT-TO-FILE no longer close the
  port when they are exited abnormally.

* Change cold-boot sequence to permit records to be used in most of
  runtime system.

* New procedure RECORD-COPY.

* New files "genio.scm", "fileio.scm", and "ttyio.scm" replace old
  files "genin.scm", "genout.scm", "filein.scm", "filout.scm",
  "ttyin.scm", and "ttyout.scm".

* New file "port.scm".

33 years agoChanged %DISPATCH-ON-COMMAND so that it does not optimize forward-char
Mark Friedman [Thu, 14 Nov 1991 22:49:16 +0000 (22:49 +0000)]
Changed %DISPATCH-ON-COMMAND so that it does not optimize forward-char
and backward-char processing when there is a move-point daemon.

33 years agoFix bugs introduced in last edit.
Chris Hanson [Wed, 6 Nov 1991 23:21:43 +0000 (23:21 +0000)]
Fix bugs introduced in last edit.

33 years agoChange MAKE-DIRED-BUFFER to do PATHNAME-SIMPLIFY.
Chris Hanson [Wed, 6 Nov 1991 22:45:48 +0000 (22:45 +0000)]
Change MAKE-DIRED-BUFFER to do PATHNAME-SIMPLIFY.

33 years agoChange FIND-FILE-NOSELECT to do PATHNAME-SIMPLIFY.
Chris Hanson [Wed, 6 Nov 1991 22:34:16 +0000 (22:34 +0000)]
Change FIND-FILE-NOSELECT to do PATHNAME-SIMPLIFY.

33 years agoChange SET-BUFFER-DEFAULT-DIRECTORY! to do PATHNAME-SIMPLIFY on its
Chris Hanson [Wed, 6 Nov 1991 21:56:05 +0000 (21:56 +0000)]
Change SET-BUFFER-DEFAULT-DIRECTORY! to do PATHNAME-SIMPLIFY on its
argument.

33 years agoFix minor breakage made in Info that happened when pathname changes
Arthur Gleckler [Wed, 6 Nov 1991 19:56:45 +0000 (19:56 +0000)]
Fix minor breakage made in Info that happened when pathname changes
were made.

33 years agoUse new procedure PATHNAME-SIMPLIFY to simplify the default directory
Chris Hanson [Tue, 5 Nov 1991 20:38:29 +0000 (20:38 +0000)]
Use new procedure PATHNAME-SIMPLIFY to simplify the default directory
of a buffer when it is set.

33 years agoNew procedure PATHNAME-SIMPLIFY maps a pathname into an equivalent
Chris Hanson [Tue, 5 Nov 1991 20:37:28 +0000 (20:37 +0000)]
New procedure PATHNAME-SIMPLIFY maps a pathname into an equivalent
simpler pathname in a host-dependent fashion.  Unix provides one
simplification: ".." directories are removed when doing so does not
change the meaning of the pathname.

Additionally, treatment of pathname hosts changed to improve
performance, and to fix problems with fasdumping of pathname objects.
Current implementation permits pathnames to be fasdumped and then
fasloaded without changing their behavior.

33 years agoChanges to match reorganization of directories.
Chris Hanson [Tue, 5 Nov 1991 18:17:45 +0000 (18:17 +0000)]
Changes to match reorganization of directories.

33 years agoFix think-o in ENOUGH-NAMESTRING.
Chris Hanson [Tue, 5 Nov 1991 02:43:09 +0000 (02:43 +0000)]
Fix think-o in ENOUGH-NAMESTRING.

33 years agoAdded support for a move-point-daemon which gets called when the point
Mark Friedman [Mon, 4 Nov 1991 21:55:39 +0000 (21:55 +0000)]
Added support for a move-point-daemon which gets called when the point
is moved.

33 years ago*** empty log message ***
Chris Hanson [Mon, 4 Nov 1991 21:17:50 +0000 (21:17 +0000)]
*** empty log message ***

33 years agoChanges to match runtime version 14.141.
Chris Hanson [Mon, 4 Nov 1991 20:52:22 +0000 (20:52 +0000)]
Changes to match runtime version 14.141.

33 years agoChange algorithm used to fix up whitespace after M-^.
Chris Hanson [Mon, 4 Nov 1991 20:48:36 +0000 (20:48 +0000)]
Change algorithm used to fix up whitespace after M-^.

33 years agoChange signalling of errors so that bell is run before the debugger
Chris Hanson [Mon, 4 Nov 1991 20:47:47 +0000 (20:47 +0000)]
Change signalling of errors so that bell is run before the debugger
confirmation prompt is given.  Reorganize code slightly.

33 years agoChanges to match runtime version 14.141.
Chris Hanson [Mon, 4 Nov 1991 20:37:25 +0000 (20:37 +0000)]
Changes to match runtime version 14.141.

33 years agoPathname abstraction redesigned. New design is very similar to the
Chris Hanson [Mon, 4 Nov 1991 20:30:42 +0000 (20:30 +0000)]
Pathname abstraction redesigned.  New design is very similar to the
Common Lisp pathname abstraction.

Incompatible changes:

* ->PATHNAME no longer accepts a symbol as an argument.  Only strings
  and pathnames are valid.

* Procedures eliminated:

    CANONICALIZE-INPUT-FILENAME
    CANONICALIZE-INPUT-PATHNAME
    CANONICALIZE-OUTPUT-FILENAME
    CANONICALIZE-OUTPUT-PATHNAME
    CANONICALIZE-OVERWRITE-FILENAME
    CANONICALIZE-OVERWRITE-PATHNAME
    HOME-DIRECTORY-PATHNAME
    INIT-FILE-TRUENAME
    PATHNAME->ABSOLUTE-PATHNAME
    PATHNAME->INPUT-TRUENAME
    PATHNAME->OUTPUT-TRUENAME
    PATHNAME->OVERWRITE-TRUENAME
    PATHNAME->STRING
    PATHNAME-COMPONENTS
    PATHNAME-DEFAULT-HOST
    PATHNAME-DIRECTORY-PATH
    PATHNAME-DIRECTORY-STRING
    PATHNAME-NAME-PATH
    PATHNAME-NAME-STRING
    PATHNAME-NEW-HOST
    PATHNAME-RELATIVE?
    STRING->PATHNAME
    SYMBOL->PATHNAME

  The file "old-path.scm" contains emulations for all of these
  procedures, except PATHNAME-DEFAULT-HOST, PATHNAME-NEW-HOST, and
  SYMBOL->PATHNAME.

* UNIX/FILE-ACCESS has been renamed to FILE-ACCESS.  UNIX/FILE-ACCESS
  still exists as a synonym, but is obsolete.

* PATHNAME-DEFAULT no longer accepts a HOST argument.

* DELETE-FILE no longer returns a useful value.  Attempting to delete
  a non-existent file signals an error.

* Various "loading" and "dumping" messages now use ENOUGH-NAMESTRING
  to eliminate redundant part of the filename being printed.

* MAKE-PATHNAME checks its arguments for consistency, and signals an
  error for illegal arguments.

* Representation of pathname directories changed to match Common
  Lisp.  Directory is now either #F or a list of symbols and strings
  with first element either 'ABSOLUTE or 'RELATIVE.

* Unix pathnames now set DEVICE and VERSION to 'UNSPECIFIC.
  'UNSPECIFIC now means that the field is not used by the operating
  system.

* Parsing rules for unix filenames changed: the file type is the part
  of the name after the last dot, if any.  If the dot occurs at the
  beginning or end of the filename, then it doesn't count -- in that
  case there is no type.  Thus, names like "." and ".." have no type.

Enhancements:

* New procedures and variables.  Most are defined as in Common Lisp.

    *DEFAULT-PATHNAME-DEFAULTS*
    ->NAMESTRING
    ->TRUENAME
    DIRECTORY-NAMESTRING
    DIRECTORY-PATHNAME
    DIRECTORY-PATHNAME-AS-FILE
    ENOUGH-NAMESTRING
    ENOUGH-PATHNAME
    FILE-ACCESS
    FILE-ATTRIBUTES-DIRECT (same as FILE-ATTRIBUTES)
    FILE-MODIFICATION-TIME-DIRECT
    FILE-MODIFICATION-TIME-INDIRECT (same as FILE-MODIFICATION-TIME)
    FILE-NAMESTRING
    FILE-PATHNAME
    FILE-READABLE?
    HOST-NAMESTRING
    PATHNAME-WILD?
    PATHNAME=?

* All pathname procedures now do an implicit ->PATHNAME on their
  "pathname" and "defaults" arguments.

* MERGE-PATHNAMES second argument is now optional, and defaults to
  *DEFAULT-PATHNAME-DEFAULTS*.  It accepts a third optional argument,
  DEFAULT-VERSION, which defaults to 'NEWEST.  The merging algorithm
  has been changed to match Common Lisp.

* *DEFAULT-PATHNAME-DEFAULTS* is updated by
  SET-WORKING-DIRECTORY-PATHNAME! and CD as long as it is EQ? to the
  working directory.

* EQUAL? guaranteed to work on pathnames.

Miscellaneous:

* Old Starbase graphics eliminated.

* Files "unk*.scm" and "vms*.scm" removed.  They will need to be
  rewritten if this support is desired in the future.

33 years agoFixed bug in rmail-sortable-date-string.
Brian A. LaMacchia [Mon, 4 Nov 1991 19:40:43 +0000 (19:40 +0000)]
Fixed bug in rmail-sortable-date-string.
4 Nov 91 became "9111 4", and 01 Nov 91 became "911101".
Which meant that 4 Nov 91 sorted before 01 Nov 91.

33 years agoNew primitive FILE-EQ?.
Chris Hanson [Mon, 4 Nov 1991 18:49:26 +0000 (18:49 +0000)]
New primitive FILE-EQ?.

33 years agoAdd install.world target.
Guillermo J. Rozas [Mon, 4 Nov 1991 17:43:12 +0000 (17:43 +0000)]
Add install.world target.

33 years agoAdd more files to remove when cleaning the directory.
Guillermo J. Rozas [Mon, 4 Nov 1991 17:28:07 +0000 (17:28 +0000)]
Add more files to remove when cleaning the directory.

33 years agoInitial revision
Guillermo J. Rozas [Mon, 4 Nov 1991 17:20:12 +0000 (17:20 +0000)]
Initial revision

33 years agoChanges because of minor reorganization of ymakefile to make bchscheme
Guillermo J. Rozas [Mon, 4 Nov 1991 17:17:31 +0000 (17:17 +0000)]
Changes because of minor reorganization of ymakefile to make bchscheme
usr bchdef.c instead of usrdef.c

33 years agoChange the dependencies for bchmmg.o now that it includes ux.h for the
Guillermo J. Rozas [Mon, 4 Nov 1991 16:56:13 +0000 (16:56 +0000)]
Change the dependencies for bchmmg.o now that it includes ux.h for the
POSIX-style declarations.

33 years agoChange the way that drones determine whether they are being waited on.
Guillermo J. Rozas [Mon, 4 Nov 1991 16:54:41 +0000 (16:54 +0000)]
Change the way that drones determine whether they are being waited on.
A bitmask is used now with a bit per drone.

Reorder some operations to reduce the size of some potential interrupt
windows.

Use POSIX signal manipulation routines instead of BSD-style routines.

Make SIGCONT do a longjmp to avoid a signal deadlock.