mit-scheme.git
24 years agoFix overlong page.
Chris Hanson [Wed, 10 May 2000 20:45:58 +0000 (20:45 +0000)]
Fix overlong page.

24 years agoAdd memoization for user's password. Password is stored in obscured
Chris Hanson [Wed, 10 May 2000 20:39:33 +0000 (20:39 +0000)]
Add memoization for user's password.  Password is stored in obscured
form so that it won't be stumbled over (is there a better way to do
this?).  Add code to detect when the connection is broken.

24 years agoCompletely discard folder when imail buffer is killed.
Chris Hanson [Wed, 10 May 2000 17:39:47 +0000 (17:39 +0000)]
Completely discard folder when imail buffer is killed.

24 years agoImplement DISCARD-FOLDER-CACHE for file folders.
Chris Hanson [Wed, 10 May 2000 17:27:55 +0000 (17:27 +0000)]
Implement DISCARD-FOLDER-CACHE for file folders.

24 years agoFix off-by-one error.
Chris Hanson [Wed, 10 May 2000 17:23:29 +0000 (17:23 +0000)]
Fix off-by-one error.

24 years agoFix bug: URLs weren't being properly memoized when created from
Chris Hanson [Wed, 10 May 2000 17:05:24 +0000 (17:05 +0000)]
Fix bug: URLs weren't being properly memoized when created from
components rather than being translated from a string.

24 years agoFix bug: URLs weren't being properly memoized when created from
Chris Hanson [Wed, 10 May 2000 17:03:27 +0000 (17:03 +0000)]
Fix bug: URLs weren't being properly memoized when created from
components rather than being translated from a string.

24 years agoAdd trace facility to allow watching the messages passing between the
Chris Hanson [Wed, 10 May 2000 17:01:34 +0000 (17:01 +0000)]
Add trace facility to allow watching the messages passing between the
client and server.

24 years agoDon't set message flags unless they have changed.
Chris Hanson [Wed, 10 May 2000 16:53:19 +0000 (16:53 +0000)]
Don't set message flags unless they have changed.

24 years agoIn SET-IMAP-FOLDER-LENGTH!, when there are no messages in a folder, it
Chris Hanson [Mon, 8 May 2000 20:48:59 +0000 (20:48 +0000)]
In SET-IMAP-FOLDER-LENGTH!, when there are no messages in a folder, it
can be treated using the same strategy as when the folder is
synchronized.

24 years agoExtensive rewrite so that folders can be reopened. Added interrupt
Chris Hanson [Mon, 8 May 2000 20:38:12 +0000 (20:38 +0000)]
Extensive rewrite so that folders can be reopened.  Added interrupt
locking in many critical locations to guarantee atomicity.  Cleaned up
code that sets folder and message attributes based on incoming
responses from the server.

24 years agoFix typo.
Chris Hanson [Mon, 8 May 2000 20:32:50 +0000 (20:32 +0000)]
Fix typo.

24 years agoFix typo in previous change.
Chris Hanson [Mon, 8 May 2000 20:07:27 +0000 (20:07 +0000)]
Fix typo in previous change.

24 years agoFix thinko.
Chris Hanson [Mon, 8 May 2000 19:55:55 +0000 (19:55 +0000)]
Fix thinko.

24 years agoEliminate MAKE-ATTACHED-MESSAGE.
Chris Hanson [Mon, 8 May 2000 19:07:54 +0000 (19:07 +0000)]
Eliminate MAKE-ATTACHED-MESSAGE.

24 years agoEliminate ATTACH-MESSAGE. Change ATTACH-MESSAGE! to set the index as
Chris Hanson [Mon, 8 May 2000 19:02:58 +0000 (19:02 +0000)]
Eliminate ATTACH-MESSAGE.  Change ATTACH-MESSAGE! to set the index as
well as the folder.  Change ATTACH-MESSAGE! and DETACH-MESSAGE! to do
MESSAGE-MODIFIED!.

24 years agoFix pagination.
Chris Hanson [Mon, 8 May 2000 18:54:51 +0000 (18:54 +0000)]
Fix pagination.

24 years agoATTACH-MESSAGE! must clear the message index.
Chris Hanson [Mon, 8 May 2000 18:54:05 +0000 (18:54 +0000)]
ATTACH-MESSAGE! must clear the message index.

24 years agoRename DETACH-MESSAGE to DETACH-MESSAGE!.
Chris Hanson [Mon, 8 May 2000 18:51:48 +0000 (18:51 +0000)]
Rename DETACH-MESSAGE to DETACH-MESSAGE!.

24 years agoDefine ATTACH-MESSAGE!.
Chris Hanson [Mon, 8 May 2000 18:50:38 +0000 (18:50 +0000)]
Define ATTACH-MESSAGE!.

24 years agoUse new command-suffix mechanism to delay mode-line updates to end of
Chris Hanson [Mon, 8 May 2000 17:55:56 +0000 (17:55 +0000)]
Use new command-suffix mechanism to delay mode-line updates to end of
command.

24 years agoChange command-suffix mechanism to allow suffixes to take arguments,
Chris Hanson [Mon, 8 May 2000 17:53:11 +0000 (17:53 +0000)]
Change command-suffix mechanism to allow suffixes to take arguments,
which are matched against by MAYBE-ADD-COMMAND-SUFFIX!.

24 years agoAdd ability to specify "command suffixes" -- thunks that are executed
Chris Hanson [Mon, 8 May 2000 17:34:51 +0000 (17:34 +0000)]
Add ability to specify "command suffixes" -- thunks that are executed
when the current command ends.

24 years agoChange handling of SELECTED-MESSAGE to ignore message if it is
Chris Hanson [Mon, 8 May 2000 15:46:20 +0000 (15:46 +0000)]
Change handling of SELECTED-MESSAGE to ignore message if it is
detached or from the wrong folder, instead selecting default message
from current folder.

24 years agoChange handling of FIRST-UNSEEN-MESSAGE; ignore IMAP's UNSEEN response
Chris Hanson [Mon, 8 May 2000 15:30:49 +0000 (15:30 +0000)]
Change handling of FIRST-UNSEEN-MESSAGE; ignore IMAP's UNSEEN response
as it is insufficiently constrained to be useful.

24 years agoDefine IMAP:RESPONSE:FETCH-ATTRIBUTE-KEYWORDS.
Chris Hanson [Mon, 8 May 2000 15:04:44 +0000 (15:04 +0000)]
Define IMAP:RESPONSE:FETCH-ATTRIBUTE-KEYWORDS.

24 years agoRework handling of FETCH commands: any attributes that we care about
Chris Hanson [Mon, 8 May 2000 15:04:01 +0000 (15:04 +0000)]
Rework handling of FETCH commands: any attributes that we care about
are now transparently stored directly into the appropriate message.
This allows for unsolicited FETCH responses from the server.

24 years agoChange LINES->HEADER-FIELDS to stop at a blank line, and to use memory
Chris Hanson [Mon, 8 May 2000 14:59:06 +0000 (14:59 +0000)]
Change LINES->HEADER-FIELDS to stop at a blank line, and to use memory
more efficiently.

24 years agoImplement NETWORK-STRING->LINES.
Chris Hanson [Mon, 8 May 2000 14:53:09 +0000 (14:53 +0000)]
Implement NETWORK-STRING->LINES.

24 years agoFix bug: FETCH response did not contain the message index as it is
Chris Hanson [Mon, 8 May 2000 14:02:46 +0000 (14:02 +0000)]
Fix bug: FETCH response did not contain the message index as it is
supposed to.

24 years agoFix bug: FETCH response did not contain the message index as it is
Chris Hanson [Mon, 8 May 2000 13:56:40 +0000 (13:56 +0000)]
Fix bug: FETCH response did not contain the message index as it is
supposed to.

24 years agoInitial registration.
Chris Hanson [Mon, 8 May 2000 13:49:06 +0000 (13:49 +0000)]
Initial registration.

24 years agoMore intelligent handling of untagged responses, based on closer
Chris Hanson [Mon, 8 May 2000 04:31:01 +0000 (04:31 +0000)]
More intelligent handling of untagged responses, based on closer
reading of specification.  Add support for BADCHARSET and UIDNEXT
response codes.

24 years agoAdd support for new BADCHARSET and UIDNEXT response codes.
Chris Hanson [Mon, 8 May 2000 04:29:42 +0000 (04:29 +0000)]
Add support for new BADCHARSET and UIDNEXT response codes.

24 years agoChange the way that URLs are handled by the top level. A partial IMAP
Chris Hanson [Fri, 5 May 2000 17:18:17 +0000 (17:18 +0000)]
Change the way that URLs are handled by the top level.  A partial IMAP
URL may now be specified, and default values are filled in to complete
the URL before it is handed to the IMAP communications layer.

24 years agoFix thinko in IMAIL-MESSAGE-WRAPPER.
Chris Hanson [Thu, 4 May 2000 22:37:06 +0000 (22:37 +0000)]
Fix thinko in IMAIL-MESSAGE-WRAPPER.

24 years agoImplement handling of flags, expunging, and deletion/reloading of
Chris Hanson [Thu, 4 May 2000 22:21:27 +0000 (22:21 +0000)]
Implement handling of flags, expunging, and deletion/reloading of
cache.

24 years agoFix some bugs associated with discarding the imap cache and reloading it.
Chris Hanson [Thu, 4 May 2000 22:20:54 +0000 (22:20 +0000)]
Fix some bugs associated with discarding the imap cache and reloading it.

24 years agoDefine IMAIL-MESSAGE-WRAPPER to allow folder abstraction to present
Chris Hanson [Thu, 4 May 2000 19:03:38 +0000 (19:03 +0000)]
Define IMAIL-MESSAGE-WRAPPER to allow folder abstraction to present
messages to user.

24 years agoDon't show "seen" in message flags.
Chris Hanson [Thu, 4 May 2000 18:52:52 +0000 (18:52 +0000)]
Don't show "seen" in message flags.

24 years agoUse implicit flag-setting procedures where applicable. Mark messages
Chris Hanson [Thu, 4 May 2000 18:47:18 +0000 (18:47 +0000)]
Use implicit flag-setting procedures where applicable.  Mark messages
as "seen" when viewed.

24 years agoImplement FOLDER-PRESENTATION-NAME.
Chris Hanson [Thu, 4 May 2000 17:40:04 +0000 (17:40 +0000)]
Implement FOLDER-PRESENTATION-NAME.

24 years agoFix a bunch of bugs. This copy of the code seems to limp along OK.
Chris Hanson [Thu, 4 May 2000 17:30:29 +0000 (17:30 +0000)]
Fix a bunch of bugs.  This copy of the code seems to limp along OK.

24 years agoImplement imail-kept-headers, as an alternative to imail-ignored-headers.
Chris Hanson [Thu, 4 May 2000 17:29:36 +0000 (17:29 +0000)]
Implement imail-kept-headers, as an alternative to imail-ignored-headers.

24 years agoReimplement <IMAP-MESSAGE> usage to extend <MESSAGE>, and to cache the
Chris Hanson [Wed, 3 May 2000 20:31:23 +0000 (20:31 +0000)]
Reimplement <IMAP-MESSAGE> usage to extend <MESSAGE>, and to cache the
message headers and body on demand.

24 years agoReimplement <IMAP-MESSAGE> usage to extend <MESSAGE>, and to cache the
Chris Hanson [Wed, 3 May 2000 20:29:41 +0000 (20:29 +0000)]
Reimplement <IMAP-MESSAGE> usage to extend <MESSAGE>, and to cache the
message headers and body on demand.

24 years agoSplit out code to parse message headers for flags and properties.
Chris Hanson [Wed, 3 May 2000 20:28:42 +0000 (20:28 +0000)]
Split out code to parse message headers for flags and properties.
Eliminate MESSAGE->STRING.

24 years agoChange modification-tracking mechanism to use counter instead of
Chris Hanson [Wed, 3 May 2000 19:29:48 +0000 (19:29 +0000)]
Change modification-tracking mechanism to use counter instead of
boolean flag.  This is necessary if more than one process is
simultaneously tracking modifications.

Sketch new synchronization interface.  New interface consists of three
procedures: FOLDER-SYNC-STATUS determines the synchronization
relationship of the folder cache with the persistent folder;
SAVE-FOLDER saves any cached changes to the persistent folder;
DISCARD-FOLDER-CACHE discards all cached information.

24 years agoFix code that was assuming that MAP accepted argument lists of
Chris Hanson [Wed, 3 May 2000 19:18:28 +0000 (19:18 +0000)]
Fix code that was assuming that MAP accepted argument lists of
different lengths.

24 years agoJot down some notes.
Chris Hanson [Tue, 2 May 2000 22:19:34 +0000 (22:19 +0000)]
Jot down some notes.

24 years agoEliminate troublesome WRITE-FOLDER operation. Change DELETE-FOLDER
Chris Hanson [Tue, 2 May 2000 22:13:03 +0000 (22:13 +0000)]
Eliminate troublesome WRITE-FOLDER operation.  Change DELETE-FOLDER
and MOVE-FOLDER to close the old folders.

24 years agoImplement CLOSE-FOLDER method for file folders, by discarding the
Chris Hanson [Tue, 2 May 2000 22:02:54 +0000 (22:02 +0000)]
Implement CLOSE-FOLDER method for file folders, by discarding the
messages in the folder.  The messages are automatically reloaded when
needed.

24 years agoChange FOLDER-URL to be a slot in <FOLDER>.
Chris Hanson [Tue, 2 May 2000 21:42:08 +0000 (21:42 +0000)]
Change FOLDER-URL to be a slot in <FOLDER>.

24 years agoChange interface to authenticator. Add buffer-kill hook to allow
Chris Hanson [Tue, 2 May 2000 21:10:43 +0000 (21:10 +0000)]
Change interface to authenticator.  Add buffer-kill hook to allow
folder to clean up.

24 years agoReorganize code, fix minor bugs.
Chris Hanson [Tue, 2 May 2000 21:09:51 +0000 (21:09 +0000)]
Reorganize code, fix minor bugs.

24 years agoChange names of RFC-822 procedures, and move header-field name
Chris Hanson [Tue, 2 May 2000 21:09:08 +0000 (21:09 +0000)]
Change names of RFC-822 procedures, and move header-field name
predicate to "rfc822.scm".

24 years agoWrite code to reopen connections [still need to hook this in].
Chris Hanson [Tue, 2 May 2000 21:08:57 +0000 (21:08 +0000)]
Write code to reopen connections [still need to hook this in].

24 years agoImplement REMOVE-DUPLICATES!.
Chris Hanson [Tue, 2 May 2000 20:59:35 +0000 (20:59 +0000)]
Implement REMOVE-DUPLICATES!.

24 years agoImplement ADD-MEMBER-PROCEDURE.
Chris Hanson [Tue, 2 May 2000 20:39:57 +0000 (20:39 +0000)]
Implement ADD-MEMBER-PROCEDURE.

24 years ago[What started out as a simple addition became a moderately large
Chris Hanson [Tue, 2 May 2000 20:39:37 +0000 (20:39 +0000)]
[What started out as a simple addition became a moderately large
edit.]  Implemented ADD-MEMBER-PROCEDURE.  Fixed bug in mapping
procedures: they were allowing combinations of lists of different
lengths, which is forbidden by the specification.  Deleted old
commented-out code, which can be recoved from CVS if required in the
future.  Reorganized several procedures to make them more concise.

24 years agoChanges for 7.5.8.
Chris Hanson [Mon, 1 May 2000 03:17:16 +0000 (03:17 +0000)]
Changes for 7.5.8.

24 years agoRelease 7.5.8.
Chris Hanson [Mon, 1 May 2000 03:09:45 +0000 (03:09 +0000)]
Release 7.5.8.

24 years agoUpdate to reflect important bug fix for Win32 systems.
Chris Hanson [Mon, 1 May 2000 03:09:10 +0000 (03:09 +0000)]
Update to reflect important bug fix for Win32 systems.

24 years agoUndo change from revision 1.253.
Chris Hanson [Mon, 1 May 2000 03:02:23 +0000 (03:02 +0000)]
Undo change from revision 1.253.

24 years agoUndo previous change.
Chris Hanson [Mon, 1 May 2000 03:01:39 +0000 (03:01 +0000)]
Undo previous change.

24 years agoFix uninitialized variable bug that, strangely, only caused occasional
Chris Hanson [Mon, 1 May 2000 02:57:14 +0000 (02:57 +0000)]
Fix uninitialized variable bug that, strangely, only caused occasional
problems.

24 years agoCreate new procedure MESSAGE-WRAPPER to capture standard pattern of
Chris Hanson [Sun, 30 Apr 2000 22:17:19 +0000 (22:17 +0000)]
Create new procedure MESSAGE-WRAPPER to capture standard pattern of
"<message>..." followed by "<message>...done".  This eliminates
error-prone uses of APPEND-MESSAGE.

24 years agoDisable automatic repainting when setting size or position.
Chris Hanson [Sun, 30 Apr 2000 21:52:50 +0000 (21:52 +0000)]
Disable automatic repainting when setting size or position.

24 years agoRepaginate.
Chris Hanson [Sat, 29 Apr 2000 01:01:31 +0000 (01:01 +0000)]
Repaginate.

24 years agoUpdate to reflect changes to file structure.
Chris Hanson [Fri, 28 Apr 2000 21:00:26 +0000 (21:00 +0000)]
Update to reflect changes to file structure.

24 years agoChange load order of files to put all the file-based formats together.
Chris Hanson [Fri, 28 Apr 2000 20:57:38 +0000 (20:57 +0000)]
Change load order of files to put all the file-based formats together.

24 years agoFirst version that sort of limps along. Will read messages from IMAP
Chris Hanson [Fri, 28 Apr 2000 19:07:48 +0000 (19:07 +0000)]
First version that sort of limps along.  Will read messages from IMAP
mailbox and display them.

24 years agoImplement TRANSLATE-STRING-LINE-ENDINGS.
Chris Hanson [Fri, 28 Apr 2000 19:05:53 +0000 (19:05 +0000)]
Implement TRANSLATE-STRING-LINE-ENDINGS.

24 years agoFix various bugs found during debugging of IMAP folders.
Chris Hanson [Fri, 28 Apr 2000 18:43:53 +0000 (18:43 +0000)]
Fix various bugs found during debugging of IMAP folders.

24 years agoIntermediate checkpoint -- initial implementation in process.
Chris Hanson [Fri, 28 Apr 2000 16:49:10 +0000 (16:49 +0000)]
Intermediate checkpoint -- initial implementation in process.

24 years agoRegularize format of FETCH response. Add ability to trace output from
Chris Hanson [Fri, 28 Apr 2000 16:48:41 +0000 (16:48 +0000)]
Regularize format of FETCH response.  Add ability to trace output from
server.

24 years agoFix compiler warning.
Chris Hanson [Fri, 28 Apr 2000 16:14:42 +0000 (16:14 +0000)]
Fix compiler warning.

24 years agoDefine MAKE-ATTACHED-MESSAGE.
Chris Hanson [Fri, 28 Apr 2000 16:14:32 +0000 (16:14 +0000)]
Define MAKE-ATTACHED-MESSAGE.

24 years agoDefine IMAP:RESPONSE:FETCH-ATTRIBUTE.
Chris Hanson [Fri, 28 Apr 2000 16:14:16 +0000 (16:14 +0000)]
Define IMAP:RESPONSE:FETCH-ATTRIBUTE.

24 years agoIntermediate checkpoint -- initial implementation in process.
Chris Hanson [Fri, 28 Apr 2000 05:47:17 +0000 (05:47 +0000)]
Intermediate checkpoint -- initial implementation in process.

24 years agoDefine IMAP:RESPONSE:STATUS-RESPONSE?.
Chris Hanson [Fri, 28 Apr 2000 05:30:25 +0000 (05:30 +0000)]
Define IMAP:RESPONSE:STATUS-RESPONSE?.

24 years agoIntermediate checkpoint -- initial implementation in process.
Chris Hanson [Thu, 27 Apr 2000 02:35:57 +0000 (02:35 +0000)]
Intermediate checkpoint -- initial implementation in process.

24 years agoEliminate a bunch of compiler warnings.
Chris Hanson [Thu, 27 Apr 2000 02:35:13 +0000 (02:35 +0000)]
Eliminate a bunch of compiler warnings.

24 years agoEliminate ability to edit the contents of a message. IMAP doesn't
Chris Hanson [Thu, 27 Apr 2000 02:16:47 +0000 (02:16 +0000)]
Eliminate ability to edit the contents of a message.  IMAP doesn't
permit this, so we won't either.  RMAIL is unusual among mail clients
in permitting this.

Additionally, eliminate generic procedure HEADER-FIELDS, and stop
treating the "summary-line" header specially.

24 years agoImplement IMAIL-PRESENT-USER-ALERT.
Chris Hanson [Thu, 27 Apr 2000 00:28:09 +0000 (00:28 +0000)]
Implement IMAIL-PRESENT-USER-ALERT.

24 years agoChange protocol of authenticator so that it corresponds to
Chris Hanson [Wed, 26 Apr 2000 18:39:29 +0000 (18:39 +0000)]
Change protocol of authenticator so that it corresponds to
CALL-WITH-PASS-PHRASE.

24 years agoMake corrections to account for the server port not doing line
Chris Hanson [Tue, 25 Apr 2000 03:48:24 +0000 (03:48 +0000)]
Make corrections to account for the server port not doing line
translation.  This is required so that literals will work right.

24 years agoDelete MAILBOX command which was incorrectly included in IMAP4rev1
Chris Hanson [Tue, 25 Apr 2000 03:41:01 +0000 (03:41 +0000)]
Delete MAILBOX command which was incorrectly included in IMAP4rev1
specification.  Implement procedures to abstractly access server
responses.

24 years agoAdd code to write strings to the IMAP server.
Chris Hanson [Tue, 25 Apr 2000 03:39:44 +0000 (03:39 +0000)]
Add code to write strings to the IMAP server.

24 years agoTweak response representation slightly to clean it up.
Chris Hanson [Sun, 23 Apr 2000 04:13:53 +0000 (04:13 +0000)]
Tweak response representation slightly to clean it up.

24 years agoImplement URL-USER-ID.
Chris Hanson [Sun, 23 Apr 2000 04:02:48 +0000 (04:02 +0000)]
Implement URL-USER-ID.

24 years agoTweak response representation slightly to clean it up.
Chris Hanson [Sun, 23 Apr 2000 03:04:55 +0000 (03:04 +0000)]
Tweak response representation slightly to clean it up.

24 years agoImplement PREDICATED-PARSER.
Chris Hanson [Sun, 23 Apr 2000 03:04:02 +0000 (03:04 +0000)]
Implement PREDICATED-PARSER.

24 years agoImplement PREDICATED-PARSER.
Chris Hanson [Sun, 23 Apr 2000 00:40:34 +0000 (00:40 +0000)]
Implement PREDICATED-PARSER.

24 years agoInitial registration.
Chris Hanson [Sat, 22 Apr 2000 05:12:26 +0000 (05:12 +0000)]
Initial registration.

24 years agoMany changes due to debugging.
Chris Hanson [Sat, 22 Apr 2000 05:07:23 +0000 (05:07 +0000)]
Many changes due to debugging.

24 years agoChange code that handles sections to implement a parser rather than a
Chris Hanson [Sat, 22 Apr 2000 05:06:24 +0000 (05:06 +0000)]
Change code that handles sections to implement a parser rather than a
matcher.  Change usages of DECODING-PARSER to match new definition.

24 years agoUse PARSE-SUBSTRING.
Chris Hanson [Sat, 22 Apr 2000 05:05:20 +0000 (05:05 +0000)]
Use PARSE-SUBSTRING.

24 years agoModify DECODING-PARSER to accept a parser to parse the decoded text,
Chris Hanson [Sat, 22 Apr 2000 05:04:31 +0000 (05:04 +0000)]
Modify DECODING-PARSER to accept a parser to parse the decoded text,
rather that a matcher and a keyword.  Implement ENCAPSULATING-PARSER,
and abstraction mechanism for this language.  Implement PARSE-STRING
and PARSE-SUBSTRING to handle top-level parsing.

24 years agoFirst attempt at a parser for IMAP server responses.
Chris Hanson [Sat, 22 Apr 2000 01:54:48 +0000 (01:54 +0000)]
First attempt at a parser for IMAP server responses.