mit-scheme.git
29 years agoFix formatting of error message.
Chris Hanson [Fri, 3 Nov 1995 01:24:11 +0000 (01:24 +0000)]
Fix formatting of error message.

29 years agoFix bug: don't signal an error when the type of a file handle can't be
Chris Hanson [Fri, 3 Nov 1995 01:23:41 +0000 (01:23 +0000)]
Fix bug: don't signal an error when the type of a file handle can't be
determined.  Instead, just treat it like a pipe, which is
operationally the least common denominator.

29 years agoFix timing bug in inter-thread communications. This bug occurs when
Chris Hanson [Fri, 3 Nov 1995 01:22:21 +0000 (01:22 +0000)]
Fix timing bug in inter-thread communications.  This bug occurs when
two threads read the same tqueue simultaneously, which violates the
assumption that each tqueue is read by only one thread.  This fix is a
kludge that will be replaced later by a redesigned communications
model.

29 years agoAdded (TYPE-TEST (OBJECT->TYPE (REGISTER (? reg))) 0) rule.
ssmith [Wed, 1 Nov 1995 21:04:32 +0000 (21:04 +0000)]
Added (TYPE-TEST (OBJECT->TYPE (REGISTER (? reg))) 0) rule.

29 years agoCopied PRED-1-ARG INDEX-FIXNUM? verbatim from Spectrum.
ssmith [Wed, 1 Nov 1995 20:43:25 +0000 (20:43 +0000)]
Copied PRED-1-ARG INDEX-FIXNUM? verbatim from Spectrum.

29 years agoExtended the flonum efficiency tip.
Stephen Adams [Wed, 1 Nov 1995 16:51:08 +0000 (16:51 +0000)]
Extended the flonum efficiency tip.

29 years agoAdded inference for %*.
Stephen Adams [Wed, 1 Nov 1995 16:27:21 +0000 (16:27 +0000)]
Added inference for %*.

29 years agoAdd ability to override default selection of constructor and loader
Chris Hanson [Wed, 1 Nov 1995 01:05:28 +0000 (01:05 +0000)]
Add ability to override default selection of constructor and loader
files.

29 years agoAdd ability to override default selection of constructor and loader
Chris Hanson [Wed, 1 Nov 1995 00:56:53 +0000 (00:56 +0000)]
Add ability to override default selection of constructor and loader
files.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Wed, 1 Nov 1995 00:56:47 +0000 (00:56 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:52:57 +0000 (23:52 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:41:39 +0000 (23:41 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:29:14 +0000 (23:29 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:26:48 +0000 (23:26 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoAdd ability to override default selection of constructor and loader
Chris Hanson [Tue, 31 Oct 1995 23:12:41 +0000 (23:12 +0000)]
Add ability to override default selection of constructor and loader
files.

29 years agoVarious listing-switches variables must accept strings, and allow
Chris Hanson [Tue, 31 Oct 1995 09:06:39 +0000 (09:06 +0000)]
Various listing-switches variables must accept strings, and allow
themselves to be modified.

29 years agoImplement s command like that in Emacs 19.
Chris Hanson [Tue, 31 Oct 1995 08:10:19 +0000 (08:10 +0000)]
Implement s command like that in Emacs 19.

29 years agoImplement M command for Dired. Change Dired to show system/hidden
Chris Hanson [Tue, 31 Oct 1995 08:08:33 +0000 (08:08 +0000)]
Implement M command for Dired.  Change Dired to show system/hidden
files only when the "a" listing switch is given; by default these
files are hidden.  Implement S command to toggle the switch off and
on.

29 years agoChange the FILE-INFO primitive to return two additional items: the
Chris Hanson [Tue, 31 Oct 1995 08:05:02 +0000 (08:05 +0000)]
Change the FILE-INFO primitive to return two additional items: the
attribute bits and the allocated file length.

29 years agoFixed more typos.
Stephen Adams [Tue, 31 Oct 1995 02:21:50 +0000 (02:21 +0000)]
Fixed more typos.

29 years agoFixed typo.
Stephen Adams [Tue, 31 Oct 1995 02:18:02 +0000 (02:18 +0000)]
Fixed typo.

29 years agoAdded some effiency tips about flonums.
Stephen Adams [Tue, 31 Oct 1995 02:14:12 +0000 (02:14 +0000)]
Added some effiency tips about flonums.

29 years agoImproved `largest fixnum' code.
Stephen Adams [Tue, 31 Oct 1995 00:51:52 +0000 (00:51 +0000)]
Improved `largest fixnum' code.

29 years agoFixed typo.
Stephen Adams [Mon, 30 Oct 1995 21:37:29 +0000 (21:37 +0000)]
Fixed typo.

29 years agoA variety of dependency changes corresponding to changes in the source
Chris Hanson [Mon, 30 Oct 1995 08:09:51 +0000 (08:09 +0000)]
A variety of dependency changes corresponding to changes in the source
files.  Also, reconfigure to make debugging output the default, rather
than optimized output.

29 years agoA variety of dependency changes corresponding to changes in the source
Chris Hanson [Mon, 30 Oct 1995 08:09:24 +0000 (08:09 +0000)]
A variety of dependency changes corresponding to changes in the source
files.

29 years agoImplement a variety of new features: a menu bar, a warning dialog on
Chris Hanson [Mon, 30 Oct 1995 08:07:22 +0000 (08:07 +0000)]
Implement a variety of new features: a menu bar, a warning dialog on
the "close", an "about" box, and a font-setting dialog.

29 years agoReorganize the OS/2 PM interface so that most of the interface
Chris Hanson [Mon, 30 Oct 1995 08:04:30 +0000 (08:04 +0000)]
Reorganize the OS/2 PM interface so that most of the interface
procedures are automatically generated from templates by a Scheme
program.  This dramatically reduces the overhead required to implement
a new PM procedure, or to modify the interface of an old one.

29 years agoInitial revision
Chris Hanson [Mon, 30 Oct 1995 07:58:27 +0000 (07:58 +0000)]
Initial revision

29 years agoSupply missing casts that are needed by IBM compiler.
Chris Hanson [Mon, 30 Oct 1995 07:55:05 +0000 (07:55 +0000)]
Supply missing casts that are needed by IBM compiler.

29 years agoForce inclusion of all possible interesting OS/2 header information.
Chris Hanson [Mon, 30 Oct 1995 07:54:29 +0000 (07:54 +0000)]
Force inclusion of all possible interesting OS/2 header information.
It's too much of a pain trying to restrict this information.

29 years agoAdd newlines so that error messages format better.
Chris Hanson [Mon, 30 Oct 1995 07:53:24 +0000 (07:53 +0000)]
Add newlines so that error messages format better.

29 years agoFix generation of .386p and .model declarations; they must always be
Chris Hanson [Mon, 30 Oct 1995 07:52:35 +0000 (07:52 +0000)]
Fix generation of .386p and .model declarations; they must always be
supplied with Intel-style assemblers.

29 years agoChange support for user-name and home directory so that it uses the
Chris Hanson [Sat, 28 Oct 1995 03:00:09 +0000 (03:00 +0000)]
Change support for user-name and home directory so that it uses the
environment variables that are being set in our NT configuration.
Also, add better heuristic methods for discovering this information
when it is not supplied in the environment variables.

29 years agoNew file "ntprm.scm" has Win32 primitive interface, which is now
Chris Hanson [Sat, 28 Oct 1995 02:57:38 +0000 (02:57 +0000)]
New file "ntprm.scm" has Win32 primitive interface, which is now
different from the DOS primitive interface.

29 years agoFix typos.
Chris Hanson [Sat, 28 Oct 1995 02:10:32 +0000 (02:10 +0000)]
Fix typos.

29 years agoNew file "ntprm.scm" has Win32 primitive interface, which is now
Chris Hanson [Sat, 28 Oct 1995 01:55:08 +0000 (01:55 +0000)]
New file "ntprm.scm" has Win32 primitive interface, which is now
different from the DOS primitive interface.

29 years agoFix typo.
Chris Hanson [Sat, 28 Oct 1995 01:30:51 +0000 (01:30 +0000)]
Fix typo.

29 years agoMove COPY-FILE into the operating-system-specific files. Both OS/2
Chris Hanson [Sat, 28 Oct 1995 01:16:09 +0000 (01:16 +0000)]
Move COPY-FILE into the operating-system-specific files.  Both OS/2
and NT provide API calls to implement this operation, and these calls
do a better job than is possible with the previous code.  (For
example, the OS/2 call also copies extended attributes.)

29 years agoNew file "ntprm.scm" has Win32 primitive interface, which is now
Chris Hanson [Sat, 28 Oct 1995 01:14:16 +0000 (01:14 +0000)]
New file "ntprm.scm" has Win32 primitive interface, which is now
different from the DOS primitive interface.

29 years agoInitial revision
Chris Hanson [Sat, 28 Oct 1995 01:14:05 +0000 (01:14 +0000)]
Initial revision

29 years agoGuarantee that target file of copy operation is writable.
Chris Hanson [Sat, 28 Oct 1995 01:09:58 +0000 (01:09 +0000)]
Guarantee that target file of copy operation is writable.

29 years agoImplement new primitives: NT-COPY-FILE, NT-GET-FILE-ATTRIBUTES, and
Chris Hanson [Sat, 28 Oct 1995 01:03:40 +0000 (01:03 +0000)]
Implement new primitives: NT-COPY-FILE, NT-GET-FILE-ATTRIBUTES, and
NT-SET-FILE-ATTRIBUTES.

29 years agoImplement new primitive OS2-COPY-FILE.
Chris Hanson [Sat, 28 Oct 1995 00:57:02 +0000 (00:57 +0000)]
Implement new primitive OS2-COPY-FILE.

29 years agoImplement new primitive OS2-COPY-FILE.
Chris Hanson [Sat, 28 Oct 1995 00:55:38 +0000 (00:55 +0000)]
Implement new primitive OS2-COPY-FILE.

29 years agoImplement new primitive OS2-COPY-FILE.
Chris Hanson [Fri, 27 Oct 1995 23:58:11 +0000 (23:58 +0000)]
Implement new primitive OS2-COPY-FILE.

29 years agoAdd DosCopy API call.
Chris Hanson [Fri, 27 Oct 1995 23:55:12 +0000 (23:55 +0000)]
Add DosCopy API call.

29 years agoUse new Win32 volume-information primitive to properly implement
Chris Hanson [Fri, 27 Oct 1995 08:00:18 +0000 (08:00 +0000)]
Use new Win32 volume-information primitive to properly implement
DOS/FS-DRIVE-TYPE and DOS/FS-LONG-FILENAMES?.  Also tweak pagination
of environment-variable code.

29 years agoImplement Win32 primitive to get information about a disk volume.
Chris Hanson [Fri, 27 Oct 1995 07:55:16 +0000 (07:55 +0000)]
Implement Win32 primitive to get information about a disk volume.
This information will be used by the runtime system and Edwin to make
decisions about how to form filenames and what end-of-line translation
to use.

29 years agomade it let* instead of let... but it is still broken...
ssmith [Wed, 25 Oct 1995 20:37:05 +0000 (20:37 +0000)]
made it let* instead of let... but it is still broken...

29 years agoOoops.. small type val->value
ssmith [Wed, 25 Oct 1995 20:16:02 +0000 (20:16 +0000)]
Ooops.. small type val->value

29 years agoUpdated to be more like Spectrum's
ssmith [Wed, 25 Oct 1995 19:54:30 +0000 (19:54 +0000)]
Updated to be more like Spectrum's

29 years agoRemoved instr3, added instrf and insutl
ssmith [Wed, 25 Oct 1995 19:49:37 +0000 (19:49 +0000)]
Removed instr3, added instrf and insutl

29 years agoRemoved instr3 and added instrf and insutl
ssmith [Wed, 25 Oct 1995 19:48:33 +0000 (19:48 +0000)]
Removed instr3 and added instrf and insutl

29 years agoChanged references from spectrum to i386
ssmith [Wed, 25 Oct 1995 19:28:02 +0000 (19:28 +0000)]
Changed references from spectrum to i386

29 years agoChanges references from spectrum to i386
ssmith [Wed, 25 Oct 1995 19:27:35 +0000 (19:27 +0000)]
Changes references from spectrum to i386

29 years ago(original copy stolen from HP)
ssmith [Wed, 25 Oct 1995 19:27:00 +0000 (19:27 +0000)]
(original copy stolen from HP)
M-x replace-string spectrum i386

29 years agoInitial revision
ssmith [Wed, 25 Oct 1995 19:19:32 +0000 (19:19 +0000)]
Initial revision

29 years agoAdded SYMBOL-NAME to known global operators.
Stephen Adams [Wed, 25 Oct 1995 18:42:05 +0000 (18:42 +0000)]
Added SYMBOL-NAME to known global operators.

29 years agoFixed signature of ERROR:WRONG-TYPE-ARGUMENT
Stephen Adams [Wed, 25 Oct 1995 18:35:15 +0000 (18:35 +0000)]
Fixed signature of ERROR:WRONG-TYPE-ARGUMENT

29 years agoFix typo.
Chris Hanson [Wed, 25 Oct 1995 05:38:47 +0000 (05:38 +0000)]
Fix typo.

29 years agoWin32 needs ".386" and ".model" declarations.
Chris Hanson [Wed, 25 Oct 1995 05:01:42 +0000 (05:01 +0000)]
Win32 needs ".386" and ".model" declarations.

29 years agoMerge common parts of DOS/WIN32 and OS2 file-name customization.
Chris Hanson [Wed, 25 Oct 1995 03:49:29 +0000 (03:49 +0000)]
Merge common parts of DOS/WIN32 and OS2 file-name customization.

29 years ago*** empty log message ***
Chris Hanson [Wed, 25 Oct 1995 03:26:46 +0000 (03:26 +0000)]
*** empty log message ***

29 years agoMerge common parts of DOS/WIN32 and OS2 file-name customization.
Chris Hanson [Wed, 25 Oct 1995 03:26:02 +0000 (03:26 +0000)]
Merge common parts of DOS/WIN32 and OS2 file-name customization.

29 years agoAdd new file "dosfile.scm".
Chris Hanson [Wed, 25 Oct 1995 03:02:52 +0000 (03:02 +0000)]
Add new file "dosfile.scm".

29 years agoCorrections so that this information matches existing files.
Chris Hanson [Wed, 25 Oct 1995 02:58:01 +0000 (02:58 +0000)]
Corrections so that this information matches existing files.

29 years agoCorrections so that this information matches existing files.
Chris Hanson [Wed, 25 Oct 1995 02:49:52 +0000 (02:49 +0000)]
Corrections so that this information matches existing files.

29 years agoFlush copyright notice. Screw the compiler vendors.
Chris Hanson [Wed, 25 Oct 1995 02:30:37 +0000 (02:30 +0000)]
Flush copyright notice.  Screw the compiler vendors.

29 years agoMerge common parts of DOS/WIN32 and OS2 file-name customization.
Chris Hanson [Wed, 25 Oct 1995 02:19:50 +0000 (02:19 +0000)]
Merge common parts of DOS/WIN32 and OS2 file-name customization.

29 years agoInitial revision
Chris Hanson [Wed, 25 Oct 1995 02:18:54 +0000 (02:18 +0000)]
Initial revision

29 years agoRemove definition of OS/NEWSRC-FILE-NAME, moving it to OS-specific
Chris Hanson [Wed, 25 Oct 1995 02:18:34 +0000 (02:18 +0000)]
Remove definition of OS/NEWSRC-FILE-NAME, moving it to OS-specific
files.

29 years agoRename OS2/FS-foo to DOS/FS-foo and supply definitions for DOS/WIN32
Chris Hanson [Wed, 25 Oct 1995 02:16:48 +0000 (02:16 +0000)]
Rename OS2/FS-foo to DOS/FS-foo and supply definitions for DOS/WIN32
as well as OS/2.  This enables sharing of the filename customization
code in Edwin.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 09:34:30 +0000 (09:34 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoInitial revision
Chris Hanson [Tue, 24 Oct 1995 09:34:29 +0000 (09:34 +0000)]
Initial revision

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 06:32:35 +0000 (06:32 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 06:28:49 +0000 (06:28 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 06:21:44 +0000 (06:21 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoChanges to get Win32 system working again.
Chris Hanson [Tue, 24 Oct 1995 05:40:10 +0000 (05:40 +0000)]
Changes to get Win32 system working again.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 05:36:00 +0000 (05:36 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoSupply missing dependencies.
Chris Hanson [Tue, 24 Oct 1995 05:32:20 +0000 (05:32 +0000)]
Supply missing dependencies.

29 years agoSupply missing filename.
Chris Hanson [Tue, 24 Oct 1995 05:31:36 +0000 (05:31 +0000)]
Supply missing filename.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 05:24:48 +0000 (05:24 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoBug fix: too little memory allocated for OS_Variant string, causing
Chris Hanson [Tue, 24 Oct 1995 05:13:42 +0000 (05:13 +0000)]
Bug fix: too little memory allocated for OS_Variant string, causing
non-local memory problems later.  Also changed name and fixed
OS_Variant string to be consistent with new spec.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 05:11:33 +0000 (05:11 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoChanges to allow Win32 microcode to be compiled by the Watcom C
Chris Hanson [Tue, 24 Oct 1995 04:56:58 +0000 (04:56 +0000)]
Changes to allow Win32 microcode to be compiled by the Watcom C
compiler.

29 years agoImplement new operation OS/FILE-END-OF-LINE-TRANSLATION, which is used
Chris Hanson [Mon, 23 Oct 1995 07:10:07 +0000 (07:10 +0000)]
Implement new operation OS/FILE-END-OF-LINE-TRANSLATION, which is used
to determine appropriate line-translation by interrogating the file
system to determine its type.  Currently this is interesting only for
OS/2, in which it is common to mount unix file systems.

29 years agoImplement new operation OS/FILE-END-OF-LINE-TRANSLATION, which is used
Chris Hanson [Mon, 23 Oct 1995 06:52:09 +0000 (06:52 +0000)]
Implement new operation OS/FILE-END-OF-LINE-TRANSLATION, which is used
to determine appropriate line-translation by interrogating the file
system to determine its type.  Currently this is interesting only for
OS/2, in which it is common to mount unix file systems.

29 years agoImplement new operation OS/FILE-END-OF-LINE-TRANSLATION, which is used
Chris Hanson [Mon, 23 Oct 1995 06:39:32 +0000 (06:39 +0000)]
Implement new operation OS/FILE-END-OF-LINE-TRANSLATION, which is used
to determine appropriate line-translation by interrogating the file
system to determine its type.  Currently this is interesting only for
OS/2, in which it is common to mount unix file systems.

29 years agoChange the DRIVE-TYPE primitive to return mount-point information for
Chris Hanson [Mon, 23 Oct 1995 06:16:20 +0000 (06:16 +0000)]
Change the DRIVE-TYPE primitive to return mount-point information for
NFS drives.  This information will be used by the runtime system to
disable end-of-line translation for unix file systems.

29 years agoAdd caching to RE-COMPILE-STRING, RE-COMPILE-CHAR-SET, and
Chris Hanson [Thu, 19 Oct 1995 08:39:38 +0000 (08:39 +0000)]
Add caching to RE-COMPILE-STRING, RE-COMPILE-CHAR-SET, and
RE-COMPILE-PATTERN.  This should clear up several small but noticeable
pauses.

29 years agoImplement M-x dired-create-directory and bind it to #\+.
Chris Hanson [Wed, 18 Oct 1995 05:27:16 +0000 (05:27 +0000)]
Implement M-x dired-create-directory and bind it to #\+.

29 years agoChange MAKE-DIRECTORY and DELETE-DIRECTORY to strip off any trailing
Chris Hanson [Wed, 18 Oct 1995 05:09:08 +0000 (05:09 +0000)]
Change MAKE-DIRECTORY and DELETE-DIRECTORY to strip off any trailing
slash from the filename before giving it to the primitive.  Previously
these were forcing a trailing slash onto the filename.  Most unix
implementations don't care about this, but Linux rejects the old
behavior, and the new behavior is more "correct", in the sense that
this is an operation on the file that is the directory.

29 years agoChange MAKE-DIRECTORY and DELETE-DIRECTORY to strip off any trailing
Chris Hanson [Wed, 18 Oct 1995 05:02:57 +0000 (05:02 +0000)]
Change MAKE-DIRECTORY and DELETE-DIRECTORY to strip off any trailing
slash from the filename before giving it to the primitive.  Previously
these were forcing a trailing slash onto the filename.  Most unix
implementations don't care about this, but Linux rejects the old
behavior, and the new behavior is more "correct", in the sense that
this is an operation on the file that is the directory.

29 years agoChange definition of DIRECTORY-PATHNAME-AS-FILE so that it does
Chris Hanson [Wed, 18 Oct 1995 05:00:46 +0000 (05:00 +0000)]
Change definition of DIRECTORY-PATHNAME-AS-FILE so that it does
nothing when the argument is already in "file" form.  This makes it a
true inverse to PATHNAME-AS-DIRECTORY.

29 years agoMiscellaneous changes to OS/2 makefiles.
Chris Hanson [Tue, 17 Oct 1995 23:07:01 +0000 (23:07 +0000)]
Miscellaneous changes to OS/2 makefiles.

29 years agoFix usage of DEL command that assumed 4OS2.
Chris Hanson [Mon, 16 Oct 1995 17:26:35 +0000 (17:26 +0000)]
Fix usage of DEL command that assumed 4OS2.

29 years agoSupply missing prototype.
Chris Hanson [Sun, 15 Oct 1995 00:44:21 +0000 (00:44 +0000)]
Supply missing prototype.

29 years agoInitial revision
Chris Hanson [Sun, 15 Oct 1995 00:43:49 +0000 (00:43 +0000)]
Initial revision

29 years agoAdd conditionalizations for Watcom C/C++ running under OS/2.
Chris Hanson [Sun, 15 Oct 1995 00:43:40 +0000 (00:43 +0000)]
Add conditionalizations for Watcom C/C++ running under OS/2.