mit-scheme.git
26 years agoFix typo.
Chris Hanson [Tue, 30 Dec 1997 00:02:14 +0000 (00:02 +0000)]
Fix typo.

26 years agoFix "stat" code to properly handle filenames ending in a backslash.
Chris Hanson [Mon, 29 Dec 1997 20:46:32 +0000 (20:46 +0000)]
Fix "stat" code to properly handle filenames ending in a backslash.
This was working fine on NT, but apparently fails on '95.

26 years agoAdd code to provide printing on NT.
Chris Hanson [Fri, 26 Dec 1997 23:46:41 +0000 (23:46 +0000)]
Add code to provide printing on NT.

26 years agoAdd code to provide printing on NT.
Chris Hanson [Fri, 26 Dec 1997 23:45:28 +0000 (23:45 +0000)]
Add code to provide printing on NT.

26 years agoAdd environment variable to specify the location of the 6.001 files.
Chris Hanson [Tue, 23 Dec 1997 05:16:15 +0000 (05:16 +0000)]
Add environment variable to specify the location of the 6.001 files.

26 years agoAdd environment variable to specify the location of the 6.001 files.
Chris Hanson [Tue, 23 Dec 1997 05:16:06 +0000 (05:16 +0000)]
Add environment variable to specify the location of the 6.001 files.

26 years agoAdd additional environment variable to check in order to find the
Chris Hanson [Tue, 23 Dec 1997 05:09:01 +0000 (05:09 +0000)]
Add additional environment variable to check in order to find the
Windows 95 system directory.

26 years agoAdd "-edit" command-line option to simplify starting editor.
Chris Hanson [Tue, 23 Dec 1997 04:37:03 +0000 (04:37 +0000)]
Add "-edit" command-line option to simplify starting editor.

26 years agoAdd additional environment variable to check in order to find the
Chris Hanson [Tue, 23 Dec 1997 02:27:11 +0000 (02:27 +0000)]
Add additional environment variable to check in order to find the
Windows 95 system directory.

26 years agoMake graphics work for OS/2 and WIN32 as well as X.
Stephen Adams [Thu, 11 Dec 1997 02:51:50 +0000 (02:51 +0000)]
Make graphics work for OS/2 and WIN32 as well as X.
Update copyright.

26 years agoChanged error report for duplicate names to explicitly mention the
Stephen Adams [Tue, 2 Dec 1997 05:53:21 +0000 (05:53 +0000)]
Changed error report for duplicate names to explicitly mention the
duplicated names.

26 years agoChange font-name parsing code so that it will properly parse fonts
Chris Hanson [Sat, 29 Nov 1997 04:37:25 +0000 (04:37 +0000)]
Change font-name parsing code so that it will properly parse fonts
whose names begin with a digit.

27 years agoAdd some missing packages to the Win32 implementation.
Chris Hanson [Thu, 20 Nov 1997 05:51:58 +0000 (05:51 +0000)]
Add some missing packages to the Win32 implementation.

27 years agoDefine process filter to strip carriage-returns from the output of a
Chris Hanson [Thu, 20 Nov 1997 05:51:30 +0000 (05:51 +0000)]
Define process filter to strip carriage-returns from the output of a
process.  Change COMINT-EXEC to start a buffer's process -before- the
buffer's major mode is set, so that process filters can be defined in
the mode hooks.

27 years agoChange interface to process-filter.
Chris Hanson [Thu, 20 Nov 1997 05:27:45 +0000 (05:27 +0000)]
Change interface to process-filter.

27 years agoChange interface to process-filter.
Chris Hanson [Wed, 19 Nov 1997 23:40:59 +0000 (23:40 +0000)]
Change interface to process-filter.

27 years agoAdd compiler flag that specifies to compile the object files for use
Chris Hanson [Wed, 19 Nov 1997 08:39:34 +0000 (08:39 +0000)]
Add compiler flag that specifies to compile the object files for use
in a DLL.  Change optimization target from 486 to Pentium Pro.

27 years agoFix instruction that causes an assembler error on newer assemblers.
Chris Hanson [Sun, 16 Nov 1997 23:12:44 +0000 (23:12 +0000)]
Fix instruction that causes an assembler error on newer assemblers.

27 years agoFix bugs relating to handling of messages whose bodies have been
Chris Hanson [Thu, 13 Nov 1997 08:01:59 +0000 (08:01 +0000)]
Fix bugs relating to handling of messages whose bodies have been
removed from the server.

27 years agoFix think-o.
Chris Hanson [Wed, 12 Nov 1997 22:58:59 +0000 (22:58 +0000)]
Fix think-o.

27 years agoFix code that determines system directory. My memory as to the
Chris Hanson [Wed, 12 Nov 1997 22:38:03 +0000 (22:38 +0000)]
Fix code that determines system directory.  My memory as to the
relevant environment variable was faulty when I wrote this.

27 years agoFinal changes to previous change, to eliminate compiler warnings and
Chris Hanson [Wed, 12 Nov 1997 22:14:09 +0000 (22:14 +0000)]
Final changes to previous change, to eliminate compiler warnings and
other minor problems.

27 years agoRewrite OS/2 and NT versions of CURRENT-USER-NAME,
Chris Hanson [Wed, 12 Nov 1997 08:40:05 +0000 (08:40 +0000)]
Rewrite OS/2 and NT versions of CURRENT-USER-NAME,
CURRENT-HOME-DIRECTORY, and USER-HOME-DIRECTORY to use the same
heuristics in both systems.  Improve the heuristics so that these
procedures will work with a minimum number of environment bindings.

27 years agoSignal error when unable to determine user name or home directory.
Chris Hanson [Tue, 11 Nov 1997 13:20:29 +0000 (13:20 +0000)]
Signal error when unable to determine user name or home directory.

27 years agoSignal error when unable to determine user name or home directory.
Chris Hanson [Tue, 11 Nov 1997 12:52:15 +0000 (12:52 +0000)]
Signal error when unable to determine user name or home directory.

27 years agoReverse earlier decision: ignore errors that occur with "$" and "~"
Chris Hanson [Tue, 11 Nov 1997 12:47:40 +0000 (12:47 +0000)]
Reverse earlier decision: ignore errors that occur with "$" and "~"
syntax in pathnames.

27 years agoFix typo.
Chris Hanson [Thu, 6 Nov 1997 07:43:46 +0000 (07:43 +0000)]
Fix typo.

27 years agoEliminate compiler warnings.
Chris Hanson [Thu, 6 Nov 1997 07:41:56 +0000 (07:41 +0000)]
Eliminate compiler warnings.

27 years agoPlace BCC field after any CC fields.
Chris Hanson [Thu, 6 Nov 1997 06:57:42 +0000 (06:57 +0000)]
Place BCC field after any CC fields.

27 years agoImplement direct SMTP mail transmission. This is for Windows systems,
Chris Hanson [Tue, 4 Nov 1997 11:04:52 +0000 (11:04 +0000)]
Implement direct SMTP mail transmission.  This is for Windows systems,
which don't have a sendmail daemon, but it can be used on any system
that supports sockets.

27 years agoDefine SUBSTRING->NONNEGATIVE-INTEGER.
Chris Hanson [Tue, 4 Nov 1997 11:02:07 +0000 (11:02 +0000)]
Define SUBSTRING->NONNEGATIVE-INTEGER.

27 years agoEliminate old and incompatible definition of READ-LINE.
Chris Hanson [Tue, 4 Nov 1997 09:27:31 +0000 (09:27 +0000)]
Eliminate old and incompatible definition of READ-LINE.

27 years agoUse newly-extended OPEN-TCP-STREAM-SOCKET.
Chris Hanson [Sat, 1 Nov 1997 19:33:58 +0000 (19:33 +0000)]
Use newly-extended OPEN-TCP-STREAM-SOCKET.

27 years agoChange OPEN-TCP-STREAM-SOCKET and OPEN-UNIX-STREAM-SOCKET to return
Chris Hanson [Sat, 1 Nov 1997 19:21:16 +0000 (19:21 +0000)]
Change OPEN-TCP-STREAM-SOCKET and OPEN-UNIX-STREAM-SOCKET to return
one port instead of two, and to allow optional arguments to specify
the buffer size and line translation.  Increase the default buffer
size to 4096 bytes.

27 years agoChange OPEN-TCP-STREAM-SOCKET and OPEN-UNIX-STREAM-SOCKET to return
Chris Hanson [Sat, 1 Nov 1997 19:19:39 +0000 (19:19 +0000)]
Change OPEN-TCP-STREAM-SOCKET and OPEN-UNIX-STREAM-SOCKET to return
one port instead of two, and to allow optional arguments to specify
the buffer size and line translation.  Increase the default buffer
size to 4096 bytes.

27 years agoChange default line translation for TCP stream sockets. These almost
Chris Hanson [Sat, 1 Nov 1997 19:12:16 +0000 (19:12 +0000)]
Change default line translation for TCP stream sockets.  These almost
always use CR/LF, regardless of the operating system.

27 years agoFix to match change in "osio.h".
Chris Hanson [Sat, 1 Nov 1997 19:09:16 +0000 (19:09 +0000)]
Fix to match change in "osio.h".

27 years agoAdd new procedure OS/HOSTNAME.
Chris Hanson [Sat, 1 Nov 1997 07:36:14 +0000 (07:36 +0000)]
Add new procedure OS/HOSTNAME.

27 years agoOS/HOSTNAME now defined in runtime system.
Chris Hanson [Sat, 1 Nov 1997 07:33:44 +0000 (07:33 +0000)]
OS/HOSTNAME now defined in runtime system.

27 years agoAdd new primitives GET-HOST-NAME and CANONICAL-HOST-NAME.
Chris Hanson [Sat, 1 Nov 1997 07:27:36 +0000 (07:27 +0000)]
Add new primitives GET-HOST-NAME and CANONICAL-HOST-NAME.

27 years agoAdd new primitives GET-HOST-NAME and CANONICAL-HOST-NAME.
Chris Hanson [Sat, 1 Nov 1997 07:19:26 +0000 (07:19 +0000)]
Add new primitives GET-HOST-NAME and CANONICAL-HOST-NAME.

27 years agoAdd new primitives GET-HOST-NAME and CANONICAL-HOST-NAME.
Chris Hanson [Sat, 1 Nov 1997 07:10:30 +0000 (07:10 +0000)]
Add new primitives GET-HOST-NAME and CANONICAL-HOST-NAME.

27 years agoAdd generalized mechanism for formation of mail return address. The
Chris Hanson [Fri, 31 Oct 1997 01:24:24 +0000 (01:24 +0000)]
Add generalized mechanism for formation of mail return address.  The
new mechanism matches that of Emacs.

27 years agoPartially undo last change. Time-stamp problem is more complicated
Chris Hanson [Sun, 26 Oct 1997 09:32:53 +0000 (09:32 +0000)]
Partially undo last change.  Time-stamp problem is more complicated
than I originally thought.

27 years agoChange method used to get file information. It turns out that
Chris Hanson [Sun, 26 Oct 1997 09:15:18 +0000 (09:15 +0000)]
Change method used to get file information.  It turns out that
GetFileInformationByHandle is returning incorrect time stamps for
files on a Samba filesystem, but FindFirstFile returns correct time
stamps in the same circumstance.  This discrepancy becomes apparent
when switching between daylight-savings and standard time.

27 years agoAdd socket and gdbm support for Win32.
Chris Hanson [Sun, 26 Oct 1997 08:05:37 +0000 (08:05 +0000)]
Add socket and gdbm support for Win32.

27 years agoAdd socket support for Win32.
Chris Hanson [Sun, 26 Oct 1997 08:05:01 +0000 (08:05 +0000)]
Add socket support for Win32.

27 years agoInitial revision
Chris Hanson [Sun, 26 Oct 1997 08:03:37 +0000 (08:03 +0000)]
Initial revision

27 years agoAdd support for compressed and encrypted files.
Chris Hanson [Sun, 26 Oct 1997 01:35:59 +0000 (01:35 +0000)]
Add support for compressed and encrypted files.

27 years agoAdd support for Blowfish and MD5.
Chris Hanson [Sat, 25 Oct 1997 22:43:43 +0000 (22:43 +0000)]
Add support for Blowfish and MD5.

27 years agoAdd ability to handle named pipes. This should be all that is
Chris Hanson [Sat, 25 Oct 1997 07:40:26 +0000 (07:40 +0000)]
Add ability to handle named pipes.  This should be all that is
necessary to manage the client side of a named pipe.

27 years agoFix problem with previous change. Must explicitly close the handle
Chris Hanson [Sat, 25 Oct 1997 07:38:45 +0000 (07:38 +0000)]
Fix problem with previous change.  Must explicitly close the handle
copies that are passed to the subprocess.  Otherwise the pipe won't be
deleted at the appropriate time, and PeekNamedPipe won't be able to
tell when the child closes its write handle.

27 years agoFix method used to pass stdio handles to a subprocess. Method used by
Chris Hanson [Sat, 25 Oct 1997 00:15:13 +0000 (00:15 +0000)]
Fix method used to pass stdio handles to a subprocess.  Method used by
Emacs, and recommended in (some parts of) the M$ documentation,
involves side-effects to Scheme's stdio handles.  Better method is to
use the STARTUPINFO datastructure to tell CreateProcess what handles
to use -- no side-effects.

27 years ago* Change channel data structure. Now, instead of being tagged with a
Chris Hanson [Fri, 24 Oct 1997 07:25:05 +0000 (07:25 +0000)]
* Change channel data structure.  Now, instead of being tagged with a
  "type", it is tagged with a "class".  The "class" has associated
  operations, so that basic channel operations such as reading and
  writing are generic.  This change allows the code to be modularized
  a bit better, and will facilitate the introduction of sockets.

* Eliminate the procedure NT_pipe_channel_available, replacing it with
  the generic procedure NT_channel_n_read.

* Eliminate references to long-obsolete "console" stuff.

* Change file-pointer positioning code to use SetFilePointer rather
  than __llseek.

* Don't try to signal an error if MsgWaitForMultipleObjects returns an
  unexpected answer -- only if it returns WAIT_FAILED.  We are only
  using it as a mechanism for blocking.

* Make cosmetic changes, eliminating unnecessary instances of "DEFUN"
  and the like.  These were introduced for unix, because there were
  non-ANSI compilers at that time.  On NT, all compilers are ANSI.

27 years agoIn OS_process_wait, replace use of Sleep and WaitForSingleObject with
Chris Hanson [Fri, 24 Oct 1997 07:24:07 +0000 (07:24 +0000)]
In OS_process_wait, replace use of Sleep and WaitForSingleObject with
MsgWaitForMultipleObjects, so that the procedure responds immediately
whenever anything interesting happens.

27 years agoFix bugs in code that terminates a subprocess. Make sure that
Chris Hanson [Fri, 24 Oct 1997 06:55:43 +0000 (06:55 +0000)]
Fix bugs in code that terminates a subprocess.  Make sure that
subprocess handles are closed at the appropriate times.

27 years agoWhen killing a subprocess on NT, close our end of the channels talking
Chris Hanson [Fri, 24 Oct 1997 06:47:56 +0000 (06:47 +0000)]
When killing a subprocess on NT, close our end of the channels talking
to the subprocess.  It turns out that some processes don't close
properly until this is done.

27 years agoFix typo in previous change.
Chris Hanson [Wed, 22 Oct 1997 23:01:16 +0000 (23:01 +0000)]
Fix typo in previous change.

27 years agoChange OS/MAKE-SUBPROCESS to use new OS-specific primitive.
Chris Hanson [Wed, 22 Oct 1997 20:00:47 +0000 (20:00 +0000)]
Change OS/MAKE-SUBPROCESS to use new OS-specific primitive.

27 years agoFix bugs from most recent changes.
Chris Hanson [Wed, 22 Oct 1997 20:00:17 +0000 (20:00 +0000)]
Fix bugs from most recent changes.

27 years agoUse new unix-specific primitive to start subprocesses.
Chris Hanson [Wed, 22 Oct 1997 07:26:34 +0000 (07:26 +0000)]
Use new unix-specific primitive to start subprocesses.

27 years agoImplemented a pattern based peephole optimizer.
Stephen Adams [Wed, 22 Oct 1997 06:47:47 +0000 (06:47 +0000)]
Implemented a pattern based peephole optimizer.

Main improvements:

 1. every CONS-[MULTI]CLOSURE saves one instruction
 2. most funcalls save one stack access
 3. fixnum arithmetic (plus and minus constants)
 4. fixnum case of generic add/subtract constant
 5. fixnum bitwise operations with constants (and/or/not)

1 and 2 give about 5% on closure/funcall heavy code.

3-5 are improvements made possible by the screwy fixnum tag.
`Natural' fixnum tags would make them obsolete (but some of the
rewrites are as good). 5 improves hash table operations up to 10% due
to how `flags' are implemented.

27 years agoEliminate compiler warnings.
Chris Hanson [Wed, 22 Oct 1997 05:40:53 +0000 (05:40 +0000)]
Eliminate compiler warnings.

27 years agoAdd missing include.
Chris Hanson [Wed, 22 Oct 1997 05:40:36 +0000 (05:40 +0000)]
Add missing include.

27 years agoImplement subprocess support under NT. Requires runtime 14.174 or
Chris Hanson [Wed, 22 Oct 1997 05:31:29 +0000 (05:31 +0000)]
Implement subprocess support under NT.  Requires runtime 14.174 or
later.

27 years agoExtensive reworking of the "select" interface, so that it can work
Chris Hanson [Wed, 22 Oct 1997 05:27:26 +0000 (05:27 +0000)]
Extensive reworking of the "select" interface, so that it can work
with pipes.  We no longer use the NT API calls, since they don't work
at all with pipes; instead we use simpler tests and depend on the
regular arrival of messages to get us out of the blocking state to
poll the other input channels.  Regular message delivery is guaranteed
by the asynchronous timer thread.

27 years agoInitial revision
Chris Hanson [Wed, 22 Oct 1997 05:26:45 +0000 (05:26 +0000)]
Initial revision

27 years agoDeprecate operating-system-independent interface OS_make_subprocess.
Chris Hanson [Wed, 22 Oct 1997 05:25:31 +0000 (05:25 +0000)]
Deprecate operating-system-independent interface OS_make_subprocess.
New interface is OS-specific, moving pecularities (e.g. converting
unix-style argument vector to OS/2-style command line) into the
runtime system.  New OS-independent interface
OS_process_any_status_change.

27 years agoAdd code to create anonymous pipes, to determine how many characters
Chris Hanson [Wed, 22 Oct 1997 05:23:25 +0000 (05:23 +0000)]
Add code to create anonymous pipes, to determine how many characters
are in the pipe given the read end of the pipe, and to implement
non-blocking mode when reading a pipe.  Fix OS_channel_write to
generate correct error messages.

27 years agoChange PROCESS-ID primitive to assume that the ID is unsigned.
Chris Hanson [Wed, 22 Oct 1997 05:22:31 +0000 (05:22 +0000)]
Change PROCESS-ID primitive to assume that the ID is unsigned.

27 years agoDefine reasonable (unsigned) type for pid_t under NT.
Chris Hanson [Wed, 22 Oct 1997 05:22:06 +0000 (05:22 +0000)]
Define reasonable (unsigned) type for pid_t under NT.

27 years agoEliminate compiler warning.
Chris Hanson [Wed, 22 Oct 1997 05:21:25 +0000 (05:21 +0000)]
Eliminate compiler warning.

27 years agoChanges to support subprocesses under NT. Requires microcode version
Chris Hanson [Wed, 22 Oct 1997 05:18:12 +0000 (05:18 +0000)]
Changes to support subprocesses under NT.  Requires microcode version
11.159 or later.

27 years agoChange MAKE-SUBPROCESS to define new interface to allow OS-specific
Chris Hanson [Wed, 22 Oct 1997 05:16:01 +0000 (05:16 +0000)]
Change MAKE-SUBPROCESS to define new interface to allow OS-specific
code to do the work of starting the subprocess.

27 years agoUse real subprocess support for NT.
Chris Hanson [Wed, 22 Oct 1997 05:11:11 +0000 (05:11 +0000)]
Use real subprocess support for NT.

27 years agoUse COMSPEC environment variable to determine shell file name if SHELL
Chris Hanson [Wed, 22 Oct 1997 05:10:03 +0000 (05:10 +0000)]
Use COMSPEC environment variable to determine shell file name if SHELL
is not defined.

27 years agoChange test used to decide whether an unreadable file exists. The
Chris Hanson [Wed, 22 Oct 1997 01:21:11 +0000 (01:21 +0000)]
Change test used to decide whether an unreadable file exists.  The
procedure FILE-EXISTS? gives the wrong answer when the file is a
symbolic link that points to a non-existent file.

27 years agoAdd code to synchronize the shutdown of the asyncronous timer thread
Chris Hanson [Sat, 18 Oct 1997 03:51:24 +0000 (03:51 +0000)]
Add code to synchronize the shutdown of the asyncronous timer thread
with the deallocation of the associated state.  Otherwise, the race
condition causes occasional GPFs when exiting Scheme.

27 years agoChanged consing code to compute the tagged pointer after storing the
Stephen Adams [Fri, 17 Oct 1997 20:24:18 +0000 (20:24 +0000)]
Changed consing code to compute the tagged pointer after storing the
elements.  This reduces register pressure across the consing sequence.
Rearranged consing expression to share a common algorithm, eliminating
80 lines of code.

27 years agoAdded some comments.
Stephen Adams [Fri, 17 Oct 1997 01:32:18 +0000 (01:32 +0000)]
Added some comments.

27 years agoChanged the instruction sequence for procedure return (and computed
Stephen Adams [Fri, 17 Oct 1997 01:25:41 +0000 (01:25 +0000)]
Changed the instruction sequence for procedure return (and computed
jump).  The code for clearing the type code from a continuation now
loads the value into a register instead of modifying it in-place on
the stack.

I have left the code using an indirect jump.  An alternative is to
push the value back on the stack and do a RET.  The indirect jump
seems faster, especially when returning to the same address as the
previous jump, but the branch prediction mechanisms for RET and JMP
seem quite different.

Speeds up the modified Gabriel Benchmark Suite (/scheme/8.0/src/bench)
by 10% overall!  I guess this is because the Pentium Pro really
doesn't like the old read-modify-write instruction.

Test       Old    New   Ratio
ctak      11.59  11.54  0.996
conform    0.62   0.50  0.806
traverse   1.57   0.92  0.586
takl       0.23   0.20  0.870
peval      0.40   0.35  0.875
browse     0.59   0.56  0.949
tak        0.28   0.25  0.893
wttree     1.61   1.49  0.925
deriv      0.34   0.29  0.853
boyer      0.47   0.42  0.894
div        0.42   0.39  0.929
dderiv     0.44   0.38  0.864
cpstak     0.42   0.41  0.976
matmul1    0.27   0.27  1.000
fib        0.68   0.55  0.809
fcomp      0.61   0.54  0.885
triangle   2.89   2.36  0.817
puzzle     0.47   0.47  1.000
matmul2    0.66   0.69  1.045
destruct   0.28   0.28  1.000
~a.mean       -      -  0.899
~g.mean       -      -  0.892

27 years agoMoved open-coding of VECTOR?, %RECORD? and CHAR? from SF to
Stephen Adams [Wed, 15 Oct 1997 03:25:55 +0000 (03:25 +0000)]
Moved open-coding of VECTOR?, %RECORD? and CHAR? from SF to
open-coders in compiler.

27 years agoFix typo.
Stephen Adams [Wed, 15 Oct 1997 01:22:00 +0000 (01:22 +0000)]
Fix typo.

27 years agoAdded primitive CHAR?
Stephen Adams [Wed, 15 Oct 1997 01:17:07 +0000 (01:17 +0000)]
Added primitive CHAR?

27 years agoAdded primitives VECTOR? and %RECORD?
Stephen Adams [Wed, 15 Oct 1997 00:52:15 +0000 (00:52 +0000)]
Added primitives VECTOR? and %RECORD?

27 years agoAdded open-coding for MAKE-CELL.
Stephen Adams [Tue, 14 Oct 1997 14:20:05 +0000 (14:20 +0000)]
Added open-coding for MAKE-CELL.

27 years agoImproved disassembly output:
Stephen Adams [Fri, 10 Oct 1997 21:06:19 +0000 (21:06 +0000)]
Improved disassembly output:

 - New comments to the right of LAP code, mostly the address of @pco
   branches so you can see where it is jumping.

 - correctly decodes the word field after a

(call (entry short-primitive-apply))

   rather than trying to disassemble the offset as instructions and
   getting out of sync with the subsequent instructions.

27 years agoUse `cp -p' to preserve file times.
Stephen Adams [Tue, 7 Oct 1997 19:35:48 +0000 (19:35 +0000)]
Use `cp -p' to preserve file times.

27 years agouse `cp -p' to preserve file times.
Stephen Adams [Tue, 7 Oct 1997 19:34:24 +0000 (19:34 +0000)]
use `cp -p' to preserve file times.

27 years agoUse `cp -p' to preserve file times.
Stephen Adams [Tue, 7 Oct 1997 19:33:49 +0000 (19:33 +0000)]
Use `cp -p' to preserve file times.

27 years agoTypo in previous change.
Stephen Adams [Tue, 7 Oct 1997 19:29:13 +0000 (19:29 +0000)]
Typo in previous change.

27 years agoFixed so that "1/pivot" is rejected as a number, rather than dividing
Stephen Adams [Tue, 7 Oct 1997 04:19:46 +0000 (04:19 +0000)]
Fixed so that "1/pivot" is rejected as a number, rather than dividing
by zero.  Change: divide only if there is at least one denominator
digit.

This is not a good fix, but I need it now for some existing code.  The
parser ought to be restructured not to compute the real part until it
is known that the imaginary part is valid, e.g.

(string->number "1/2+3")  => #F
(string->number "1/0+3")  => error
(string->number "1/0-transition")  => error

There is a similar problem with exponent calculation:

(string->number "1e9999e1")  => error
(string->number "1e99999999e1")  => `hangs' in bignum primitives

Of course, the difficulty with these non-numbers is probably the
reason behind R4RS's restriction on valid identifiers.  That is pretty
feeble, since I don't recall R4RS saying that STRING->NUMBER is
allowed to signal an error.  Note that the current code would work
fine in a lazy language, so a few DELAYs and FORCEs might be the most
elegant fix (and OK effciency since FORCE is now compiled.)

27 years agoChanged compuation of pc_in_C: with dynamically loaded libraries,
Stephen Adams [Sun, 5 Oct 1997 05:44:37 +0000 (05:44 +0000)]
Changed compuation of pc_in_C: with dynamically loaded libraries,
there is no guarantee that valid C addressed are bounded above by
_etext.

27 years agoThinko in replacements for INTEGER-NEGATIVE? and INTEGER-POSITIVE?
Stephen Adams [Fri, 3 Oct 1997 13:43:41 +0000 (13:43 +0000)]
Thinko in replacements for INTEGER-NEGATIVE? and INTEGER-POSITIVE?
(was doing fixnum replacement for known-to-be exact integer arguments
rather than known-to-be fixnum arguments.

27 years agoFix typo.
Chris Hanson [Fri, 3 Oct 1997 07:26:54 +0000 (07:26 +0000)]
Fix typo.

27 years agoFix typo in previous change.
Chris Hanson [Fri, 3 Oct 1997 06:00:26 +0000 (06:00 +0000)]
Fix typo in previous change.

27 years agoFix typo in instructions.
Stephen Adams [Thu, 2 Oct 1997 20:10:10 +0000 (20:10 +0000)]
Fix typo in instructions.

27 years agoAdded -export-dynamic to the LD switches so that SWAT (and other
Stephen Adams [Thu, 2 Oct 1997 19:52:53 +0000 (19:52 +0000)]
Added -export-dynamic to the LD switches so that SWAT (and other
dynamic libraries) can load.

27 years agoChanged %STRING-APPEND to (APPLY STRING-APPEND ...) because someone
Stephen Adams [Thu, 2 Oct 1997 19:19:44 +0000 (19:19 +0000)]
Changed %STRING-APPEND to (APPLY STRING-APPEND ...) because someone
removed %STRING-APPEND from the system.

27 years agoFixed copyright date and Package: comment.
Stephen Adams [Thu, 2 Oct 1997 19:16:40 +0000 (19:16 +0000)]
Fixed copyright date and Package: comment.