mit-scheme.git
23 years agoMove parser-buffer abstraction into runtime system.
Chris Hanson [Sun, 11 Nov 2001 05:52:30 +0000 (05:52 +0000)]
Move parser-buffer abstraction into runtime system.

23 years agoReorganize code for presentation style -- no change in function. Add
Chris Hanson [Sun, 11 Nov 2001 05:45:57 +0000 (05:45 +0000)]
Reorganize code for presentation style -- no change in function.  Add
comments explaining how new optimizer works.  Split up some large
procedures into smaller focused pieces.  Reorder code to improve
readability.

23 years agoAdd comment explaining the WITH-POINTER kludge.
Chris Hanson [Sat, 10 Nov 2001 06:31:47 +0000 (06:31 +0000)]
Add comment explaining the WITH-POINTER kludge.

23 years agoImplement substitution optimizer, which does a kind of data-flow
Chris Hanson [Fri, 9 Nov 2001 21:38:47 +0000 (21:38 +0000)]
Implement substitution optimizer, which does a kind of data-flow
analysis to eliminate unnecessary lambda expressions.

23 years agoImplement substitution optimizer, which does a kind of data-flow
Chris Hanson [Fri, 9 Nov 2001 21:37:55 +0000 (21:37 +0000)]
Implement substitution optimizer, which does a kind of data-flow
analysis to eliminate unnecessary lambda expressions.

23 years agoNeed SOS loaded for proper compilation.
Chris Hanson [Fri, 9 Nov 2001 21:37:10 +0000 (21:37 +0000)]
Need SOS loaded for proper compilation.

23 years agoAdd locking mechanism for the IMAP folder cache. There is one lock
Chris Hanson [Tue, 6 Nov 2001 05:01:50 +0000 (05:01 +0000)]
Add locking mechanism for the IMAP folder cache.  There is one lock
per folder, and the lock is held only while the folder cache is being
read and/or written.  IMAIL will try three times to obtain the lock,
waiting one second between retries; thereafter it ignores the cache
until the lock becomes available.

23 years agoAdd locking mechanism for the IMAP folder cache. There is one lock
Chris Hanson [Tue, 6 Nov 2001 04:48:23 +0000 (04:48 +0000)]
Add locking mechanism for the IMAP folder cache.  There is one lock
per folder, and the lock is held only while the folder cache is being
read and/or written.  IMAIL will try three times to obtain the lock,
waiting one second between retries; thereafter it ignores the cache
until the lock becomes available.

23 years agoMake sure *PARSER is loaded for IMAIL. It's not necessary to load it
Chris Hanson [Mon, 5 Nov 2001 21:32:44 +0000 (21:32 +0000)]
Make sure *PARSER is loaded for IMAIL.  It's not necessary to load it
just for the URL file.

23 years agoMove URL support back to IMAIL from the runtime system.
Chris Hanson [Mon, 5 Nov 2001 21:24:54 +0000 (21:24 +0000)]
Move URL support back to IMAIL from the runtime system.

23 years agoMove URL support back to IMAIL from the runtime system.
Chris Hanson [Mon, 5 Nov 2001 21:19:37 +0000 (21:19 +0000)]
Move URL support back to IMAIL from the runtime system.

23 years agoMove this back to IMAIL from the runtime system. Unlike anything else
Chris Hanson [Mon, 5 Nov 2001 21:05:56 +0000 (21:05 +0000)]
Move this back to IMAIL from the runtime system.  Unlike anything else
in the runtime system, it requires *PARSER to compile, and I'm not
ready to add that dependency.

23 years agoAdd missing option dependencies.
Chris Hanson [Mon, 5 Nov 2001 20:19:05 +0000 (20:19 +0000)]
Add missing option dependencies.

23 years agoMany changes to closure analysis require incrementing version number.
Chris Hanson [Mon, 5 Nov 2001 19:46:24 +0000 (19:46 +0000)]
Many changes to closure analysis require incrementing version number.

23 years agoAdd long explanation of the analysis.
Chris Hanson [Mon, 5 Nov 2001 18:57:11 +0000 (18:57 +0000)]
Add long explanation of the analysis.

23 years agoStylistic changes.
Chris Hanson [Mon, 5 Nov 2001 18:13:12 +0000 (18:13 +0000)]
Stylistic changes.

23 years agoThree fixes that together resolve the problem of compiling the XML
Chris Hanson [Mon, 5 Nov 2001 18:12:13 +0000 (18:12 +0000)]
Three fixes that together resolve the problem of compiling the XML
parser.  (1) FOR-EACH-CALLEE! claimed to examine all of the callees,
but it wasn't looking at procedures called from descendant blocks that
had been disowned.  (2) When removing dependent constraints, due to
closure, constraints that had indirect dependencies on the now-closed
procedure weren't being removed.  (3) When adding undrifting
constraints due to closure contagion, it's wrong to constrain the
invocation block of a trivial closure.

23 years agoUse new names for LIST-TRANSFORM- procedures; eliminate private
Chris Hanson [Sat, 3 Nov 2001 05:16:48 +0000 (05:16 +0000)]
Use new names for LIST-TRANSFORM- procedures; eliminate private
definition for LIST-TRANSFORM-NEGATIVE!.  Open up definition of
FOR-EACH-CALLEE! so that it can be experimented with.  Change
implementation of undrifting conditions so that they can have multiple
dependencies.

23 years agoAdd indentation bindings for new names in runtime system.
Chris Hanson [Fri, 2 Nov 2001 17:10:33 +0000 (17:10 +0000)]
Add indentation bindings for new names in runtime system.

23 years agoFix bug: ENVIRONMENT-BOUND? wasn't examining ancestors of
Chris Hanson [Fri, 2 Nov 2001 17:09:51 +0000 (17:09 +0000)]
Fix bug: ENVIRONMENT-BOUND? wasn't examining ancestors of
compiled-code environment frames.

23 years agoFix bug: ENVIRONMENT-BOUND? wasn't examining ancestors of
Chris Hanson [Fri, 2 Nov 2001 17:08:02 +0000 (17:08 +0000)]
Fix bug: ENVIRONMENT-BOUND? wasn't examining ancestors of
compiled-code environment frames.

23 years agoRearrange code to separate out manipulation of constraints list.
Chris Hanson [Fri, 2 Nov 2001 14:57:50 +0000 (14:57 +0000)]
Rearrange code to separate out manipulation of constraints list.

23 years agoAdd explicit CONDITION datatype to track the conditions that tag
Chris Hanson [Fri, 2 Nov 2001 04:59:12 +0000 (04:59 +0000)]
Add explicit CONDITION datatype to track the conditions that tag
undrifting constraints.  This simplifies the code and clarifies what
is happening.

Also change PENDING-UNDRIFTING? to examine the conditions for validity
in the same way that UNDRIFT-PROCEDURES! does.

23 years agoGuarantee that empty constraint entries are entirely removed.
Chris Hanson [Fri, 2 Nov 2001 03:57:56 +0000 (03:57 +0000)]
Guarantee that empty constraint entries are entirely removed.

23 years agoChange names:
Chris Hanson [Fri, 2 Nov 2001 03:28:09 +0000 (03:28 +0000)]
Change names:

    list-transform-positive => keep-matching-items
    list-transform-negative => delete-matching-items
    list-search-positive    => find-matching-item

Implement new procedures:

    keep-matching-items!
    delete-matching-items!

23 years agoAdd hooks to generate debugging info about constraints.
Chris Hanson [Thu, 1 Nov 2001 21:29:00 +0000 (21:29 +0000)]
Add hooks to generate debugging info about constraints.

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.