mit-scheme.git
23 years agoUse RVALUE/TRUE-PROCEDURE? where appropriate.
Chris Hanson [Thu, 1 Nov 2001 18:42:59 +0000 (18:42 +0000)]
Use RVALUE/TRUE-PROCEDURE? where appropriate.

23 years agoRewrite for style.
Chris Hanson [Thu, 1 Nov 2001 18:37:39 +0000 (18:37 +0000)]
Rewrite for style.

23 years agoChange value of PROCEDURE-FREE-CALLEES so that it contains sets of
Chris Hanson [Thu, 1 Nov 2001 18:30:05 +0000 (18:30 +0000)]
Change value of PROCEDURE-FREE-CALLEES so that it contains sets of
blocks rather than lists of variables.

23 years agoChange M-x imail-file-message to default to the last output file.
Chris Hanson [Tue, 30 Oct 2001 19:29:11 +0000 (19:29 +0000)]
Change M-x imail-file-message to default to the last output file.

23 years agoUse PROMPT-OPTIONS-DEFAULT-STRING to determine default prompt. This
Chris Hanson [Tue, 30 Oct 2001 19:26:40 +0000 (19:26 +0000)]
Use PROMPT-OPTIONS-DEFAULT-STRING to determine default prompt.  This
allows caller to specify that history is to be used.

23 years agoImplement PROMPT-OPTIONS-DEFAULT-STRING to determine whether a set of
Chris Hanson [Tue, 30 Oct 2001 19:25:15 +0000 (19:25 +0000)]
Implement PROMPT-OPTIONS-DEFAULT-STRING to determine whether a set of
options specifies a default prompt string.

23 years agoModern GNU/Linux implementations provide full siginfo and sigcontext
Chris Hanson [Thu, 25 Oct 2001 17:18:24 +0000 (17:18 +0000)]
Modern GNU/Linux implementations provide full siginfo and sigcontext
support, so use that instead of kludging our own.

23 years agoAdd code to reinitialize the floating-point control word on IA-32
Chris Hanson [Thu, 25 Oct 2001 17:17:19 +0000 (17:17 +0000)]
Add code to reinitialize the floating-point control word on IA-32
machines when SIGFPE is received.  When this isn't done, all of the
traps are disabled.

23 years agoAdd workaround for non-standard MIME encoding types used by Microsoft.
Chris Hanson [Thu, 25 Oct 2001 15:57:16 +0000 (15:57 +0000)]
Add workaround for non-standard MIME encoding types used by Microsoft.

23 years agoImplement RVALUE/TRUE-PROCEDURE?.
Chris Hanson [Wed, 24 Oct 2001 00:46:29 +0000 (00:46 +0000)]
Implement RVALUE/TRUE-PROCEDURE?.

23 years agoFix problem: I was interpreting the meaning of mhash_count
Chris Hanson [Tue, 23 Oct 2001 20:31:48 +0000 (20:31 +0000)]
Fix problem: I was interpreting the meaning of mhash_count
incorrectly.

23 years agoUpdate for style.
Chris Hanson [Mon, 22 Oct 2001 19:41:46 +0000 (19:41 +0000)]
Update for style.

23 years agoUpdate for style.
Chris Hanson [Mon, 22 Oct 2001 19:17:22 +0000 (19:17 +0000)]
Update for style.

23 years agoUpdate for style.
Chris Hanson [Mon, 22 Oct 2001 19:04:50 +0000 (19:04 +0000)]
Update for style.

23 years agoAdd FLO:FINITE?.
Chris Hanson [Mon, 22 Oct 2001 00:28:09 +0000 (00:28 +0000)]
Add FLO:FINITE?.

23 years agoFix newline convention of debugging tools to match current convention.
Chris Hanson [Wed, 17 Oct 2001 03:26:55 +0000 (03:26 +0000)]
Fix newline convention of debugging tools to match current convention.

23 years agoFix problem in declaration parser.
Chris Hanson [Tue, 16 Oct 2001 20:13:03 +0000 (20:13 +0000)]
Fix problem in declaration parser.

23 years agoAdd *PARSER and XML options.
Chris Hanson [Tue, 16 Oct 2001 19:42:53 +0000 (19:42 +0000)]
Add *PARSER and XML options.

23 years agoFix bug: don't avoid coloring part of the graph just because it is
Chris Hanson [Tue, 16 Oct 2001 17:56:47 +0000 (17:56 +0000)]
Fix bug: don't avoid coloring part of the graph just because it is
going to be inlined later.  There is probably a subtle bug here, but
finding it will require too much thought, and this fix appears to
work.

23 years agoAdd code to reuse existing buffer pointers where possible.
Chris Hanson [Tue, 16 Oct 2001 17:52:33 +0000 (17:52 +0000)]
Add code to reuse existing buffer pointers where possible.

23 years agoOK, this time it's right. I've gone through all the combinations, and
Chris Hanson [Tue, 16 Oct 2001 16:41:13 +0000 (16:41 +0000)]
OK, this time it's right.  I've gone through all the combinations, and
everything makes sense.  There are some minor efficiency issues which
will be resolved in the next revision.

23 years agoFix bug: don't avoid coloring part of the graph just because it is
Chris Hanson [Tue, 16 Oct 2001 16:38:37 +0000 (16:38 +0000)]
Fix bug: don't avoid coloring part of the graph just because it is
going to be inlined later.  There is probably a subtle bug here, but
finding it will require too much thought, and this fix appears to
work.

23 years agoRewrite control structures again. These seem correct, after many
Chris Hanson [Tue, 16 Oct 2001 04:59:25 +0000 (04:59 +0000)]
Rewrite control structures again.  These seem correct, after many
hours of thought and testing.  Also make new top-level wrapper for
code generators, and eliminate a couple of unused definitions.

23 years agoComplete rewrite of output control structure. New structure supports
Chris Hanson [Mon, 15 Oct 2001 17:01:10 +0000 (17:01 +0000)]
Complete rewrite of output control structure.  New structure supports
backtracking properly, doing greedy matching until a failure occurs,
then backtracking arbitrarily deeply to find a way forward.

23 years agoFix bug: large message-body parts were being stored in the cache as
Chris Hanson [Sun, 14 Oct 2001 02:00:13 +0000 (02:00 +0000)]
Fix bug: large message-body parts were being stored in the cache as
zero-length strings.

23 years agoRewrite so we don't depend on matchers lifting complex expressions
Chris Hanson [Sat, 13 Oct 2001 05:54:33 +0000 (05:54 +0000)]
Rewrite so we don't depend on matchers lifting complex expressions
upwards.

23 years agoFix LOAD-OPTION so that a loading option can load any other option.
Chris Hanson [Wed, 10 Oct 2001 05:10:33 +0000 (05:10 +0000)]
Fix LOAD-OPTION so that a loading option can load any other option.

23 years agoThe parser language developed for IMAIL has been replaced by the
Chris Hanson [Wed, 10 Oct 2001 04:52:37 +0000 (04:52 +0000)]
The parser language developed for IMAIL has been replaced by the
newer *PARSER facility.

23 years agoThe parser language developed for IMAIL has been replaced by the
Chris Hanson [Wed, 10 Oct 2001 04:28:49 +0000 (04:28 +0000)]
The parser language developed for IMAIL has been replaced by the
newer *PARSER facility.

23 years agoFix quoting problem.
Chris Hanson [Tue, 9 Oct 2001 21:17:25 +0000 (21:17 +0000)]
Fix quoting problem.

23 years agoFix case of symbol.
Chris Hanson [Tue, 9 Oct 2001 17:52:00 +0000 (17:52 +0000)]
Fix case of symbol.

23 years agoInterpret bare string or char as self.
Chris Hanson [Tue, 9 Oct 2001 16:02:43 +0000 (16:02 +0000)]
Interpret bare string or char as self.

23 years agoInterpret bare string or char to be noise.
Chris Hanson [Tue, 9 Oct 2001 16:02:22 +0000 (16:02 +0000)]
Interpret bare string or char to be noise.

23 years agoRemove URL and rexp support, which are now in the runtime system.
Chris Hanson [Fri, 5 Oct 2001 19:20:30 +0000 (19:20 +0000)]
Remove URL and rexp support, which are now in the runtime system.

23 years agoDon't forget to compile *parser and xml support.
Chris Hanson [Fri, 5 Oct 2001 19:13:30 +0000 (19:13 +0000)]
Don't forget to compile *parser and xml support.

23 years agoDon't clear the screen on restore.
Chris Hanson [Fri, 5 Oct 2001 19:11:15 +0000 (19:11 +0000)]
Don't clear the screen on restore.

23 years agoAdd URL-encoding support.
Chris Hanson [Fri, 5 Oct 2001 15:58:18 +0000 (15:58 +0000)]
Add URL-encoding support.

23 years agoFix copyright. Guarantee regular-expression is loaded. Fix bug in
Chris Hanson [Fri, 5 Oct 2001 15:57:43 +0000 (15:57 +0000)]
Fix copyright.  Guarantee regular-expression is loaded.  Fix bug in
URL:SUBSTRING-ENCODED?.

23 years agoFix copyright dates.
Chris Hanson [Fri, 5 Oct 2001 15:54:35 +0000 (15:54 +0000)]
Fix copyright dates.

23 years agoAdd missing file: ntdir.
Chris Hanson [Fri, 5 Oct 2001 15:48:10 +0000 (15:48 +0000)]
Add missing file: ntdir.

23 years agoAdd rexp abstraction.
Chris Hanson [Fri, 5 Oct 2001 15:43:46 +0000 (15:43 +0000)]
Add rexp abstraction.

23 years agoUpdate copyright. Add comment explaining contents of file. Change
Chris Hanson [Fri, 5 Oct 2001 15:43:04 +0000 (15:43 +0000)]
Update copyright.  Add comment explaining contents of file.  Change
logic since character sets are no longer represented as strings.  If
character set is argument to CASE-FOLD, then case-fold it.

23 years agoIntegrate *PARSER and XML support into system.
Chris Hanson [Thu, 4 Oct 2001 17:11:49 +0000 (17:11 +0000)]
Integrate *PARSER and XML support into system.

23 years agoIntegrate into MIT Scheme.
Chris Hanson [Thu, 4 Oct 2001 17:11:06 +0000 (17:11 +0000)]
Integrate into MIT Scheme.

23 years agoFix typo.
Chris Hanson [Thu, 4 Oct 2001 16:59:56 +0000 (16:59 +0000)]
Fix typo.

23 years agoIntegrate into MIT Scheme.
Chris Hanson [Thu, 4 Oct 2001 16:52:18 +0000 (16:52 +0000)]
Integrate into MIT Scheme.

23 years agoIntegrate into MIT Scheme.
Chris Hanson [Thu, 4 Oct 2001 16:51:16 +0000 (16:51 +0000)]
Integrate into MIT Scheme.

23 years agoImplement READ-UTF8-CODE-POINT and WRITE-UTF8-CODE-POINT.
Chris Hanson [Thu, 4 Oct 2001 16:28:57 +0000 (16:28 +0000)]
Implement READ-UTF8-CODE-POINT and WRITE-UTF8-CODE-POINT.

23 years agoMove MATCH-UTF8-CHAR-IN-ALPHABET into parser-buffer abstraction.
Chris Hanson [Thu, 4 Oct 2001 16:27:39 +0000 (16:27 +0000)]
Move MATCH-UTF8-CHAR-IN-ALPHABET into parser-buffer abstraction.

23 years agoDon't unnecessarily change the length of a string when altering its
Chris Hanson [Thu, 4 Oct 2001 16:14:19 +0000 (16:14 +0000)]
Don't unnecessarily change the length of a string when altering its
maximum length.

23 years agoDon't unnecessarily change the length of a string when altering its
Chris Hanson [Thu, 4 Oct 2001 16:13:57 +0000 (16:13 +0000)]
Don't unnecessarily change the length of a string when altering its
maximum length.

23 years agoDon't unnecessarily change the length of a string when altering its
Chris Hanson [Thu, 4 Oct 2001 16:13:24 +0000 (16:13 +0000)]
Don't unnecessarily change the length of a string when altering its
maximum length.

23 years agoMove MATCH-UTF8-CHAR-IN-ALPHABET into parser-buffer abstraction.
Chris Hanson [Thu, 4 Oct 2001 15:54:20 +0000 (15:54 +0000)]
Move MATCH-UTF8-CHAR-IN-ALPHABET into parser-buffer abstraction.

23 years agoRemove all references to parser buffers.
Chris Hanson [Thu, 4 Oct 2001 15:53:16 +0000 (15:53 +0000)]
Remove all references to parser buffers.

23 years agoOptimize code to read and match characters from the buffer.
Chris Hanson [Thu, 4 Oct 2001 15:50:40 +0000 (15:50 +0000)]
Optimize code to read and match characters from the buffer.

23 years agoAdd binding for UNBIND-VARIABLE.
Chris Hanson [Tue, 2 Oct 2001 18:51:54 +0000 (18:51 +0000)]
Add binding for UNBIND-VARIABLE.

23 years agoFix bug that was causing some variables to erroneously have multiple
Chris Hanson [Mon, 1 Oct 2001 20:40:07 +0000 (20:40 +0000)]
Fix bug that was causing some variables to erroneously have multiple
bindings.

23 years agoLeave attachment markers in the output message. The result will be an
Chris Hanson [Mon, 1 Oct 2001 16:22:50 +0000 (16:22 +0000)]
Leave attachment markers in the output message.  The result will be an
exact copy of the buffer contents.

23 years agoUpdate for new CREF.
Chris Hanson [Mon, 1 Oct 2001 05:22:52 +0000 (05:22 +0000)]
Update for new CREF.

23 years agoMake changes related to new cache mechanism.
Chris Hanson [Sun, 30 Sep 2001 15:10:22 +0000 (15:10 +0000)]
Make changes related to new cache mechanism.

23 years agoSTART-PROBE-FOLDER-THREAD is being called whenever a message is
Chris Hanson [Sat, 29 Sep 2001 03:00:13 +0000 (03:00 +0000)]
START-PROBE-FOLDER-THREAD is being called whenever a message is
selected, but unfortunately if there was already a thread, it was
being killed and a new one started, which generated network traffic on
an IMAP folder.  Now it doesn't do anything if there is already a
thread.

23 years agoDon't generate "Reading ..." messages unless actually going to the
Chris Hanson [Sat, 29 Sep 2001 02:58:17 +0000 (02:58 +0000)]
Don't generate "Reading ..." messages unless actually going to the
network.  Remove debugging code inadvertently left in last revision.

23 years agoAdd disk cache for IMAP folders.
Chris Hanson [Sat, 29 Sep 2001 01:04:53 +0000 (01:04 +0000)]
Add disk cache for IMAP folders.

23 years agoAdd disk cache for IMAP folders.
Chris Hanson [Fri, 28 Sep 2001 19:22:56 +0000 (19:22 +0000)]
Add disk cache for IMAP folders.

23 years agoAdd disk cache for IMAP folders.
Chris Hanson [Fri, 28 Sep 2001 19:18:30 +0000 (19:18 +0000)]
Add disk cache for IMAP folders.

23 years agoImplement new command M-x imail-file-message, which writes message to
Chris Hanson [Fri, 28 Sep 2001 15:35:11 +0000 (15:35 +0000)]
Implement new command M-x imail-file-message, which writes message to
a file in a human-readable format.

23 years agoChange handling of file folders so that their type is determined
Chris Hanson [Fri, 28 Sep 2001 00:42:21 +0000 (00:42 +0000)]
Change handling of file folders so that their type is determined
solely by their contents rather than their names.

23 years agoFix bug: package parent can sometimes be the symbol UNKNOWN.
Chris Hanson [Fri, 28 Sep 2001 00:38:32 +0000 (00:38 +0000)]
Fix bug: package parent can sometimes be the symbol UNKNOWN.

23 years agoCREF should now be included in the install directory.
Chris Hanson [Tue, 25 Sep 2001 18:25:46 +0000 (18:25 +0000)]
CREF should now be included in the install directory.

23 years agoUpdate to reflect changes to packaging.
Chris Hanson [Tue, 25 Sep 2001 18:10:57 +0000 (18:10 +0000)]
Update to reflect changes to packaging.

23 years agoUpdate to reflect changes to packaging.
Chris Hanson [Tue, 25 Sep 2001 17:23:12 +0000 (17:23 +0000)]
Update to reflect changes to packaging.

23 years agoRemove four more definitions that are no longer bound to primitives.
Chris Hanson [Tue, 25 Sep 2001 16:53:25 +0000 (16:53 +0000)]
Remove four more definitions that are no longer bound to primitives.

23 years agoFix bug: documentation string for M-x repeat-complex-command was
Chris Hanson [Tue, 25 Sep 2001 12:57:26 +0000 (12:57 +0000)]
Fix bug: documentation string for M-x repeat-complex-command was
referring to repeat-complex-command mode, which no longer exists.

23 years agoEliminate calls to IMPLEMENTED-PRIMITIVE-PROCEDURE? which were causing
Chris Hanson [Tue, 25 Sep 2001 05:42:04 +0000 (05:42 +0000)]
Eliminate calls to IMPLEMENTED-PRIMITIVE-PROCEDURE? which were causing
trouble in the boot load.  This was due to rewriting of string
support.

23 years agoFix typo in previous change.
Chris Hanson [Tue, 25 Sep 2001 05:37:45 +0000 (05:37 +0000)]
Fix typo in previous change.

23 years agoEliminate use of DEFINE-METHOD syntactic keyword.
Chris Hanson [Tue, 25 Sep 2001 05:35:21 +0000 (05:35 +0000)]
Eliminate use of DEFINE-METHOD syntactic keyword.

23 years agoDon't open-code any of the cell primitives.
Chris Hanson [Tue, 25 Sep 2001 05:31:16 +0000 (05:31 +0000)]
Don't open-code any of the cell primitives.

23 years agoExtensive rewriting to make type-checking more uniform, and to
Chris Hanson [Tue, 25 Sep 2001 05:30:24 +0000 (05:30 +0000)]
Extensive rewriting to make type-checking more uniform, and to
eliminate cases where it was being performed twice.  Eliminate even
more primitives, and speed up the procedures as much as possible.

23 years agoSplit off unchecked character comparisons, for inclusion in
Chris Hanson [Tue, 25 Sep 2001 05:17:00 +0000 (05:17 +0000)]
Split off unchecked character comparisons, for inclusion in
"string.scm".

23 years agoAdd type checking to all procedures, and rewrite some of the loops for
Chris Hanson [Tue, 25 Sep 2001 05:15:17 +0000 (05:15 +0000)]
Add type checking to all procedures, and rewrite some of the loops for
speed.

23 years agoFix bug in previous change.
Chris Hanson [Tue, 25 Sep 2001 05:13:00 +0000 (05:13 +0000)]
Fix bug in previous change.

23 years agoThe file "char.scm" must now be compiled early as it is integrated
Chris Hanson [Tue, 25 Sep 2001 05:12:08 +0000 (05:12 +0000)]
The file "char.scm" must now be compiled early as it is integrated
into "string.scm".

23 years agoFix thinko.
Chris Hanson [Tue, 25 Sep 2001 05:11:31 +0000 (05:11 +0000)]
Fix thinko.

23 years agoEliminate a large number of inlined primitives. Some of these are
Chris Hanson [Tue, 25 Sep 2001 05:11:11 +0000 (05:11 +0000)]
Eliminate a large number of inlined primitives.  Some of these are
necessary due to changes in the runtime system.  Others are eliminated
because I don't want their names reserved, or because it's
inappropriate to inline them.

23 years agoChange LENGTH to be a Scheme procedure rather than a primitive. New
Chris Hanson [Tue, 25 Sep 2001 05:09:36 +0000 (05:09 +0000)]
Change LENGTH to be a Scheme procedure rather than a primitive.  New
procedure now checks its argument for circularity and signals an error.

23 years agoWrite private version of INTERN, which is needed early in the boot
Chris Hanson [Tue, 25 Sep 2001 05:08:40 +0000 (05:08 +0000)]
Write private version of INTERN, which is needed early in the boot
sequence before all of the necessary mechanism is initialized.

23 years agoFix bugs in character-set compilation. This code was confusing ASCII
Chris Hanson [Tue, 25 Sep 2001 05:07:50 +0000 (05:07 +0000)]
Fix bugs in character-set compilation.  This code was confusing ASCII
fixnums and characters, which works only in compiled code.

23 years agoInitialization sequence for RNG was depending on fact that
Chris Hanson [Tue, 25 Sep 2001 04:33:50 +0000 (04:33 +0000)]
Initialization sequence for RNG was depending on fact that
REAL-TIME-CLOCK was inline-coded.

23 years agoFix bug: EMACS-KEY-NAME wasn't able to handle a button as an argument.
Chris Hanson [Tue, 25 Sep 2001 03:15:15 +0000 (03:15 +0000)]
Fix bug: EMACS-KEY-NAME wasn't able to handle a button as an argument.

23 years agoMake ISO-8859-1 changes to string code, which involved rewriting all
Chris Hanson [Mon, 24 Sep 2001 05:24:55 +0000 (05:24 +0000)]
Make ISO-8859-1 changes to string code, which involved rewriting all
of the case-aware procedures.  Many of these were inherited from
primitives, so it was necessary to write Scheme versions of the
primitives.

23 years agoExtend alphabetic predicates to know about ISO-8859-1 letters.
Chris Hanson [Mon, 24 Sep 2001 04:16:19 +0000 (04:16 +0000)]
Extend alphabetic predicates to know about ISO-8859-1 letters.

23 years agoEliminate use of all character primitives except for CHAR?,
Chris Hanson [Mon, 24 Sep 2001 03:44:56 +0000 (03:44 +0000)]
Eliminate use of all character primitives except for CHAR?,
CHAR->INTEGER, and INTEGER->CHAR.  It is probably faster to write them
in Scheme.

Extend CHAR-UPCASE and CHAR-DOWNCASE to know about ISO-8859-1 letters.

23 years agoAdd ISO-8859-1 syntax to standard table.
Chris Hanson [Mon, 24 Sep 2001 03:00:56 +0000 (03:00 +0000)]
Add ISO-8859-1 syntax to standard table.

23 years agoUpdate copyright statement.
Chris Hanson [Mon, 24 Sep 2001 03:00:07 +0000 (03:00 +0000)]
Update copyright statement.

23 years agoAdd prompt history for M-x shell-command.
Chris Hanson [Fri, 21 Sep 2001 16:23:18 +0000 (16:23 +0000)]
Add prompt history for M-x shell-command.

23 years agoAdd missing variable exports.
Chris Hanson [Fri, 21 Sep 2001 02:56:15 +0000 (02:56 +0000)]
Add missing variable exports.

23 years agoPut up message while generating summary buffer. Use fixnum arithmetic
Chris Hanson [Thu, 20 Sep 2001 21:12:03 +0000 (21:12 +0000)]
Put up message while generating summary buffer.  Use fixnum arithmetic
here to speed things up slightly.

23 years agoTo each message shown in a summary buffer, attach a mark pointing at
Chris Hanson [Thu, 20 Sep 2001 18:13:01 +0000 (18:13 +0000)]
To each message shown in a summary buffer, attach a mark pointing at
the line on which the message is shown.  Use this in the code that
maps from messages to marks, changing it from (slow) linear time in
the number of messages to constant time.

23 years agoFix problem with IMAIL-SUMMARY-MATCH-LINE: messages with malformed
Chris Hanson [Thu, 20 Sep 2001 17:45:26 +0000 (17:45 +0000)]
Fix problem with IMAIL-SUMMARY-MATCH-LINE: messages with malformed
dates were not being matched.

23 years agoM-x imail-sort-by-subject should do a case-insensitive sort.
Chris Hanson [Fri, 14 Sep 2001 21:19:29 +0000 (21:19 +0000)]
M-x imail-sort-by-subject should do a case-insensitive sort.