mit-scheme.git
25 years agoFix calling arguments to gethostbyaddr.
Chris Hanson [Fri, 13 Aug 1999 18:47:57 +0000 (18:47 +0000)]
Fix calling arguments to gethostbyaddr.

25 years agoFix typo.
Chris Hanson [Fri, 13 Aug 1999 18:43:05 +0000 (18:43 +0000)]
Fix typo.

25 years agoImplement and export various host-name manipulating procedures.
Chris Hanson [Fri, 13 Aug 1999 18:40:43 +0000 (18:40 +0000)]
Implement and export various host-name manipulating procedures.
Change TCP-SERVER-CONNECTION-ACCEPT to accept the peer address as an
argument and to return only a single value.

25 years agoAdd new ECB and OFB modes.
Chris Hanson [Fri, 13 Aug 1999 18:32:11 +0000 (18:32 +0000)]
Add new ECB and OFB modes.

25 years agoFix typo.
Chris Hanson [Fri, 13 Aug 1999 18:31:52 +0000 (18:31 +0000)]
Fix typo.

25 years agoAdd new primitive GET-HOST-BY-ADDRESS.
Chris Hanson [Fri, 13 Aug 1999 18:29:38 +0000 (18:29 +0000)]
Add new primitive GET-HOST-BY-ADDRESS.

25 years agoAdd ECB and OFB modes.
Chris Hanson [Fri, 13 Aug 1999 17:03:48 +0000 (17:03 +0000)]
Add ECB and OFB modes.

25 years agoDon't mention encapsulation; this feature will probably go away.
Chris Hanson [Fri, 13 Aug 1999 00:24:30 +0000 (00:24 +0000)]
Don't mention encapsulation; this feature will probably go away.

25 years agoDon't load krypt.
Chris Hanson [Tue, 10 Aug 1999 17:01:21 +0000 (17:01 +0000)]
Don't load krypt.

25 years agoWipe buffer strings that might contain plaintext.
Chris Hanson [Tue, 10 Aug 1999 16:59:46 +0000 (16:59 +0000)]
Wipe buffer strings that might contain plaintext.

25 years agoEliminate use of krypt and the ".ky" file suffix. Change all
Chris Hanson [Tue, 10 Aug 1999 16:54:57 +0000 (16:54 +0000)]
Eliminate use of krypt and the ".ky" file suffix.  Change all
encryption commands to use Blowfish, and also to be more paranoid
about eliminating passphrases and plaintext after use.

25 years agoEliminate PROMPT-FOR-PASSWORD in favor of CALL-WITH-PASS-PHRASE. The
Chris Hanson [Tue, 10 Aug 1999 16:53:42 +0000 (16:53 +0000)]
Eliminate PROMPT-FOR-PASSWORD in favor of CALL-WITH-PASS-PHRASE.  The
latter wipes the string containing the pass phrase after use.

25 years agoTweak /dev/random loop to be a little cleaner.
Chris Hanson [Mon, 9 Aug 1999 19:33:44 +0000 (19:33 +0000)]
Tweak /dev/random loop to be a little cleaner.

25 years agoMore changes for cold-load problems.
Chris Hanson [Mon, 9 Aug 1999 19:30:18 +0000 (19:30 +0000)]
More changes for cold-load problems.

25 years agoTweak previous change so that cold-load sequence works. Change
Chris Hanson [Mon, 9 Aug 1999 19:27:13 +0000 (19:27 +0000)]
Tweak previous change so that cold-load sequence works.  Change
MAKE-RANDOM-STATE to avoid use of CONGRUENTIAL-RNG when /dev/urandom
is being used.

25 years agoIf /dev/random is available, use it to seed the PRNG.
Chris Hanson [Mon, 9 Aug 1999 19:08:50 +0000 (19:08 +0000)]
If /dev/random is available, use it to seed the PRNG.

25 years agoFix typo.
Chris Hanson [Mon, 9 Aug 1999 18:33:25 +0000 (18:33 +0000)]
Fix typo.

25 years agoEliminate BLOWFISH-CFB64. Modify BLOWFISH-CBC and
Chris Hanson [Mon, 9 Aug 1999 18:29:38 +0000 (18:29 +0000)]
Eliminate BLOWFISH-CFB64.  Modify BLOWFISH-CBC and
BLOWFISH-CFB64-SUBSTRING to accept the output buffer as an argument.
This allows better control of memory allocation.  Also modify
BLOWFISH-CFB64-SUBSTRING to return the new value of `num' so that the
Scheme code need not re-compute it.

25 years agoFix typo.
Chris Hanson [Mon, 9 Aug 1999 18:27:38 +0000 (18:27 +0000)]
Fix typo.

25 years agoChange to use new primitives that reduce consing. Eliminate
Chris Hanson [Mon, 9 Aug 1999 18:25:45 +0000 (18:25 +0000)]
Change to use new primitives that reduce consing.  Eliminate
BLOWFISH-CFB64; rename BLOWFISH-CFB64-SUBSTRING to be BLOWFISH-CFB64.
Don't preprocess key-string with MD5 in BLOWFISH-ENCRYPT-PORT.
Eliminate BLOWFISH-ENCRYPT-STRING and BLOWFISH-ENCRYPT-SUBSTRING.

25 years agoChange internal name from WRITE-SUBSTRING to WRITE-BYTES to avoid
Chris Hanson [Mon, 9 Aug 1999 18:23:40 +0000 (18:23 +0000)]
Change internal name from WRITE-SUBSTRING to WRITE-BYTES to avoid
collision with new global procedure WRITE-SUBSTRING.

25 years agoChange calls to PROMPT-FOR-PASSWORD to say "pass phrase" rather than
Chris Hanson [Mon, 9 Aug 1999 18:22:24 +0000 (18:22 +0000)]
Change calls to PROMPT-FOR-PASSWORD to say "pass phrase" rather than
"password", to encourage use of longer phrases.

25 years agoRuntime system no longer runs MD5 on the passphrase handed to
Chris Hanson [Mon, 9 Aug 1999 18:19:24 +0000 (18:19 +0000)]
Runtime system no longer runs MD5 on the passphrase handed to
Blowfish.

25 years agoAdd new procedure WRITE-SUBSTRING.
Chris Hanson [Mon, 9 Aug 1999 18:12:11 +0000 (18:12 +0000)]
Add new procedure WRITE-SUBSTRING.

25 years agoUpdate copyright; restructure to have multiple chapters.
Chris Hanson [Mon, 9 Aug 1999 16:49:32 +0000 (16:49 +0000)]
Update copyright; restructure to have multiple chapters.

25 years agoAdd key to enable krypt support, just like the one used for blowfish.
Chris Hanson [Mon, 9 Aug 1999 16:26:39 +0000 (16:26 +0000)]
Add key to enable krypt support, just like the one used for blowfish.

25 years agoArrgh. Fix another instance of the init-vector thinko.
Chris Hanson [Mon, 9 Aug 1999 04:09:02 +0000 (04:09 +0000)]
Arrgh.  Fix another instance of the init-vector thinko.

25 years agoArrgh. Fix another instance of the init-vector thinko.
Chris Hanson [Mon, 9 Aug 1999 04:07:11 +0000 (04:07 +0000)]
Arrgh.  Fix another instance of the init-vector thinko.

25 years agoModify usage of blowfish encryption to match new design in which
Chris Hanson [Mon, 9 Aug 1999 03:26:14 +0000 (03:26 +0000)]
Modify usage of blowfish encryption to match new design in which
header manipulation handles the init-vector.

25 years agoFix my broken understanding of the role of the init-vector in the
Chris Hanson [Mon, 9 Aug 1999 03:24:27 +0000 (03:24 +0000)]
Fix my broken understanding of the role of the init-vector in the
encryption process.  Essential property of the init-vector in CFB
encryption is that no two messages encrypted with the same key should
also use the same init-vector.  New design will read files encrypted
with previous scheme, but writes them using the current time as the
init-vector, and writes the init-vector into the file as part of the
header.

25 years agoDocument interface to TCP sockets.
Chris Hanson [Wed, 4 Aug 1999 01:42:54 +0000 (01:42 +0000)]
Document interface to TCP sockets.

25 years agoA final round of changes for the release. This should be the final
Chris Hanson [Wed, 4 Aug 1999 01:12:42 +0000 (01:12 +0000)]
A final round of changes for the release.  This should be the final
version.

25 years agoFix thinko.
Chris Hanson [Sat, 31 Jul 1999 18:39:59 +0000 (18:39 +0000)]
Fix thinko.

25 years agoChange TCP-SERVER-CONNECTION-ACCEPT to return two values rather than
Chris Hanson [Mon, 26 Jul 1999 21:20:44 +0000 (21:20 +0000)]
Change TCP-SERVER-CONNECTION-ACCEPT to return two values rather than
three.

25 years agoMore changes for release.
Chris Hanson [Fri, 16 Jul 1999 18:08:54 +0000 (18:08 +0000)]
More changes for release.

25 years agoMore changes for release.
Chris Hanson [Fri, 16 Jul 1999 18:08:15 +0000 (18:08 +0000)]
More changes for release.

25 years agoMore changes for release.
Chris Hanson [Fri, 16 Jul 1999 18:07:14 +0000 (18:07 +0000)]
More changes for release.

25 years agoMore changes for the upcoming release.
Chris Hanson [Tue, 6 Jul 1999 15:11:15 +0000 (15:11 +0000)]
More changes for the upcoming release.

25 years agoFix argument order for SUBSTRING?. Reformat.
Chris Hanson [Tue, 6 Jul 1999 15:08:44 +0000 (15:08 +0000)]
Fix argument order for SUBSTRING?.  Reformat.

25 years agoCopy the arguments list returned by *ARGS*.
Chris Hanson [Tue, 6 Jul 1999 15:08:04 +0000 (15:08 +0000)]
Copy the arguments list returned by *ARGS*.

25 years agoFix typo in previous change.
Chris Hanson [Sat, 3 Jul 1999 02:30:28 +0000 (02:30 +0000)]
Fix typo in previous change.

25 years agoMany changes in preparation for the upcoming 7.5 release. There's
Chris Hanson [Sat, 3 Jul 1999 02:28:34 +0000 (02:28 +0000)]
Many changes in preparation for the upcoming 7.5 release.  There's
still a fair amount left to do.

25 years agoDon't use RE-REGISTERS and SET-RE-REGISTERS! any more; use direct
Chris Hanson [Sat, 26 Jun 1999 02:02:50 +0000 (02:02 +0000)]
Don't use RE-REGISTERS and SET-RE-REGISTERS! any more; use direct
access to the REGISTERS variable instead.  This code broke when the
representation of RE-REGISTERS changed recently.  Rather than expose
the entire abstraction to this code, it seems better to just bypass
it altogether.

25 years agoDocument optional argument to re-match-start-index and
Chris Hanson [Tue, 22 Jun 1999 18:31:35 +0000 (18:31 +0000)]
Document optional argument to re-match-start-index and
re-match-end-index.

25 years agoChange external representation of regular-expression registers so that
Chris Hanson [Tue, 22 Jun 1999 18:07:19 +0000 (18:07 +0000)]
Change external representation of regular-expression registers so that
predicate is uniquely true of these objects.  Modify
re-match-start-index and re-match-end-index to accept one of these
objects as an optional argument, meaning to reference the object
rather than the internal registers.

25 years agoFix fencepost error in STRING-SEARCH-ALL.
Chris Hanson [Tue, 22 Jun 1999 01:06:52 +0000 (01:06 +0000)]
Fix fencepost error in STRING-SEARCH-ALL.

25 years agoChange info filename to "scheme.info".
Chris Hanson [Tue, 22 Jun 1999 00:47:08 +0000 (00:47 +0000)]
Change info filename to "scheme.info".

25 years agoAdd documentation for regular-expression procedures. Change
Chris Hanson [Tue, 22 Jun 1999 00:42:46 +0000 (00:42 +0000)]
Add documentation for regular-expression procedures.  Change
string-search documentation to reflect rationalization of procedures.

25 years agoChange arguments to string-search procedures to make them consistent
Chris Hanson [Mon, 21 Jun 1999 21:05:27 +0000 (21:05 +0000)]
Change arguments to string-search procedures to make them consistent
with regular-expression searches.

25 years agoChange string regexp search procedures to make their returned indexes
Chris Hanson [Mon, 21 Jun 1999 20:58:56 +0000 (20:58 +0000)]
Change string regexp search procedures to make their returned indexes
consistent with the string search procedures.

25 years agoFix bug: scheme-under-emacs stopped working due to port-encapsulation
Chris Hanson [Mon, 21 Jun 1999 03:47:29 +0000 (03:47 +0000)]
Fix bug: scheme-under-emacs stopped working due to port-encapsulation
changes.  This isn't a general fix -- it only handles the one kind of
encapsulation that occurs in this place.  If other kinds of
encapsulation are used, this will have to be generalized.

25 years agoFix fencepost error in string-search-forward.
Chris Hanson [Thu, 10 Jun 1999 16:27:56 +0000 (16:27 +0000)]
Fix fencepost error in string-search-forward.

25 years agoAdd support for files compressed with bzip2.
Chris Hanson [Sun, 6 Jun 1999 18:26:46 +0000 (18:26 +0000)]
Add support for files compressed with bzip2.

25 years agoChange to run on a linux box.
Chris Hanson [Thu, 3 Jun 1999 02:55:14 +0000 (02:55 +0000)]
Change to run on a linux box.

25 years agoChange to run on a linux box.
Chris Hanson [Thu, 3 Jun 1999 02:48:27 +0000 (02:48 +0000)]
Change to run on a linux box.

25 years agoAdd a few more directories to have their RCS.log files updated.
Chris Hanson [Thu, 3 Jun 1999 02:48:07 +0000 (02:48 +0000)]
Add a few more directories to have their RCS.log files updated.

25 years agoAdd documentation for subprocesses, machine time, and operating-system
Chris Hanson [Fri, 28 May 1999 05:02:51 +0000 (05:02 +0000)]
Add documentation for subprocesses, machine time, and operating-system
identifiers.

25 years agoRename re-string-search to re-string-search-forward.
Chris Hanson [Fri, 21 May 1999 04:31:57 +0000 (04:31 +0000)]
Rename re-string-search to re-string-search-forward.

25 years agoAdd lock to blowfish code. The code now will work only if the key
Chris Hanson [Tue, 18 May 1999 17:11:58 +0000 (17:11 +0000)]
Add lock to blowfish code.  The code now will work only if the key
file is in the appropriate location.

25 years agoEliminate #!aux quoting problem.
Chris Hanson [Sat, 15 May 1999 19:01:15 +0000 (19:01 +0000)]
Eliminate #!aux quoting problem.

25 years agoEliminate '#!aux, which parses to the wrong thing (yuk!).
Chris Hanson [Sat, 15 May 1999 03:15:29 +0000 (03:15 +0000)]
Eliminate '#!aux, which parses to the wrong thing (yuk!).

25 years agoFix previous change. Problem is subtle -- LAMBDA-AUXILIARY-TAG was
Chris Hanson [Sat, 15 May 1999 02:50:34 +0000 (02:50 +0000)]
Fix previous change.  Problem is subtle -- LAMBDA-AUXILIARY-TAG was
being used in one place as an expression and in another as a constant.
Now it is defined to be a constant, and the expression usage has been
tweaked to expect a constant.

25 years agoChange #!aux to be an interned symbol.
Chris Hanson [Fri, 14 May 1999 22:15:47 +0000 (22:15 +0000)]
Change #!aux to be an interned symbol.

25 years agoMove regular-expression support to the runtime system, where it is now
Chris Hanson [Thu, 13 May 1999 03:06:47 +0000 (03:06 +0000)]
Move regular-expression support to the runtime system, where it is now
a loadable option.

25 years agoInitial revision
Chris Hanson [Thu, 13 May 1999 03:04:46 +0000 (03:04 +0000)]
Initial revision

25 years agoFix typo.
Chris Hanson [Thu, 13 May 1999 02:08:26 +0000 (02:08 +0000)]
Fix typo.

25 years agoImplement new procedures SIMPLE-COMMAND-LINE-PARSER and
Chris Hanson [Tue, 11 May 1999 20:35:15 +0000 (20:35 +0000)]
Implement new procedures SIMPLE-COMMAND-LINE-PARSER and
ARGUMENT-COMMAND-LINE-PARSER and export them to global.

25 years agoUse new procedure SIMPLE-COMMAND-LINE-PARSER in place of
Chris Hanson [Tue, 11 May 1999 20:31:06 +0000 (20:31 +0000)]
Use new procedure SIMPLE-COMMAND-LINE-PARSER in place of
SIMPLE-OPTION-PARSER.

25 years agoImplement new procedures SIMPLE-COMMAND-LINE-PARSER and
Chris Hanson [Tue, 11 May 1999 20:30:21 +0000 (20:30 +0000)]
Implement new procedures SIMPLE-COMMAND-LINE-PARSER and
ARGUMENT-COMMAND-LINE-PARSER and export them to global.

25 years agoChange option code so that "-compiler" and "-edwin" can be specified
Chris Hanson [Tue, 11 May 1999 03:52:31 +0000 (03:52 +0000)]
Change option code so that "-compiler" and "-edwin" can be specified
together, in which case they select the "all.com" band.  Also modify
the heap-sizing code so that the default constant size is taken from
the band, and the heap size is increased by the amount of heap in the
band.

25 years agoChange option code so that "-compiler" and "-edwin" can be specified
Chris Hanson [Tue, 11 May 1999 03:34:14 +0000 (03:34 +0000)]
Change option code so that "-compiler" and "-edwin" can be specified
together, in which case they select the "all.com" band.  Also modify
the heap-sizing code so that the default constant size is taken from
the band, and the heap size is increased by the amount of heap in the
band.

25 years agoDelete definitions of FIX:MIN and FIX:MAX, which are now defined by
Chris Hanson [Sat, 8 May 1999 19:22:58 +0000 (19:22 +0000)]
Delete definitions of FIX:MIN and FIX:MAX, which are now defined by
the runtime system.

25 years agoDocument new string-search procedures and string-reversal procedures.
Chris Hanson [Sat, 8 May 1999 02:57:38 +0000 (02:57 +0000)]
Document new string-search procedures and string-reversal procedures.

25 years agoFix thinko in previous change.
Chris Hanson [Sat, 8 May 1999 02:31:50 +0000 (02:31 +0000)]
Fix thinko in previous change.

25 years agoImplement STRING-SEARCH-ALL and SUBSTRING-SEARCH-ALL.
Chris Hanson [Sat, 8 May 1999 02:23:36 +0000 (02:23 +0000)]
Implement STRING-SEARCH-ALL and SUBSTRING-SEARCH-ALL.

25 years agoFix fencepost bug.
Chris Hanson [Fri, 7 May 1999 21:41:13 +0000 (21:41 +0000)]
Fix fencepost bug.

25 years agoImplement Boyer-Moore string search. Also add procedures to reverse
Chris Hanson [Fri, 7 May 1999 21:26:13 +0000 (21:26 +0000)]
Implement Boyer-Moore string search.  Also add procedures to reverse
string contents.

25 years agoFix bug: "string.scm" had wrong package designation.
Chris Hanson [Fri, 7 May 1999 21:23:35 +0000 (21:23 +0000)]
Fix bug: "string.scm" had wrong package designation.

25 years agoImplement Boyer-Moore string search. Also add procedures to reverse
Chris Hanson [Fri, 7 May 1999 21:13:43 +0000 (21:13 +0000)]
Implement Boyer-Moore string search.  Also add procedures to reverse
string contents.

25 years agoImplement Boyer-Moore string search. Also add procedures to reverse
Chris Hanson [Fri, 7 May 1999 21:08:32 +0000 (21:08 +0000)]
Implement Boyer-Moore string search.  Also add procedures to reverse
string contents.

25 years agoImplement FIX:MIN and FIX:MAX.
Chris Hanson [Fri, 7 May 1999 19:47:25 +0000 (19:47 +0000)]
Implement FIX:MIN and FIX:MAX.

25 years agoInterpret contents of password-file variable as relative to the user's
Chris Hanson [Tue, 4 May 1999 17:47:49 +0000 (17:47 +0000)]
Interpret contents of password-file variable as relative to the user's
home directory.

25 years agoDefine variable that specifies the password filename for the
Chris Hanson [Tue, 4 May 1999 17:41:20 +0000 (17:41 +0000)]
Define variable that specifies the password filename for the
view-password-file command.

25 years agoDefine variable that specifies the password filename for the
Chris Hanson [Tue, 4 May 1999 17:23:09 +0000 (17:23 +0000)]
Define variable that specifies the password filename for the
view-password-file command.

25 years agoDefine variable that specifies the password filename for the
Chris Hanson [Tue, 4 May 1999 17:19:10 +0000 (17:19 +0000)]
Define variable that specifies the password filename for the
view-password-file command.

25 years agoChange documentation for time procedures to match new regularized
Chris Hanson [Thu, 29 Apr 1999 22:21:30 +0000 (22:21 +0000)]
Change documentation for time procedures to match new regularized
implementation.

25 years agoChange default font to "8.Courier".
Chris Hanson [Wed, 28 Apr 1999 03:50:38 +0000 (03:50 +0000)]
Change default font to "8.Courier".

25 years agoAdd definition needed for use with newer versions of the Developer's
Chris Hanson [Wed, 28 Apr 1999 03:27:55 +0000 (03:27 +0000)]
Add definition needed for use with newer versions of the Developer's
Toolkit for OS/2.

25 years agoFix thinko in error call.
Chris Hanson [Tue, 27 Apr 1999 17:23:16 +0000 (17:23 +0000)]
Fix thinko in error call.

25 years agoFix logic so that CURRENT-HOME-DIRECTORY doesn't generate an error if
Chris Hanson [Mon, 26 Apr 1999 16:35:21 +0000 (16:35 +0000)]
Fix logic so that CURRENT-HOME-DIRECTORY doesn't generate an error if
neither HOME nor USER is defined.

25 years agoFix bug that occurred when the HOME environment variable wasn't set.
Chris Hanson [Sat, 24 Apr 1999 04:40:14 +0000 (04:40 +0000)]
Fix bug that occurred when the HOME environment variable wasn't set.

25 years agoUse reasonable default working directory.
Chris Hanson [Tue, 20 Apr 1999 01:09:54 +0000 (01:09 +0000)]
Use reasonable default working directory.

25 years agoImplement remaining time-representation conversions.
Chris Hanson [Thu, 8 Apr 1999 05:01:33 +0000 (05:01 +0000)]
Implement remaining time-representation conversions.

25 years agoImplement remainder of RFC-822 syntax: optional day-of-week, two-digit
Chris Hanson [Wed, 7 Apr 1999 21:46:13 +0000 (21:46 +0000)]
Implement remainder of RFC-822 syntax: optional day-of-week, two-digit
year, and named time zones.  Fix bug: formerly would accept times with
more than one colon in a row.

25 years agoThis change requires microcode 11.163 or later.
Chris Hanson [Wed, 7 Apr 1999 04:47:01 +0000 (04:47 +0000)]
This change requires microcode 11.163 or later.

Rationalize naming of time-conversion procedures.  Implement
procedures to manage decoded time in UTC.  Implement procedure to
convert an RFC-822 time string to decoded-time format.

25 years agoThis change requires microcode 11.163 or later.
Chris Hanson [Wed, 7 Apr 1999 04:09:16 +0000 (04:09 +0000)]
This change requires microcode 11.163 or later.

Rationalize naming of time-conversion procedures.  Implement
procedures to manage decoded time in UTC.  Implement procedure to
convert an RFC-822 time string to decoded-time format.

25 years agoImplement BURST-STRING.
Chris Hanson [Wed, 7 Apr 1999 04:06:07 +0000 (04:06 +0000)]
Implement BURST-STRING.

25 years agoImplement primitive to decode unix time to UTC.
Chris Hanson [Wed, 7 Apr 1999 04:01:55 +0000 (04:01 +0000)]
Implement primitive to decode unix time to UTC.

25 years agoDocument time procedures.
Chris Hanson [Wed, 31 Mar 1999 02:59:58 +0000 (02:59 +0000)]
Document time procedures.

25 years agoFix type error.
Chris Hanson [Fri, 26 Mar 1999 01:55:48 +0000 (01:55 +0000)]
Fix type error.