mit-scheme.git
24 years agoAdd mechanism to erase stored passwords after the specified retention
Chris Hanson [Wed, 24 May 2000 19:44:23 +0000 (19:44 +0000)]
Add mechanism to erase stored passwords after the specified retention
time that was in effect when they were stored.  This uses timer
interrupts to guarantee that it happens even if the user walks away
from the machine.

24 years agoUse pivot of 1970, since that is the date that will usually screw the
Chris Hanson [Tue, 23 May 2000 21:51:26 +0000 (21:51 +0000)]
Use pivot of 1970, since that is the date that will usually screw the
unix libc functions.

24 years agoDo pivoting when deciding what a two-digit year means. I can't
Chris Hanson [Tue, 23 May 2000 21:48:53 +0000 (21:48 +0000)]
Do pivoting when deciding what a two-digit year means.  I can't
believe that some programs still generate these strings!

24 years agoFix bug: time stamp for APPEND might be #F.
Chris Hanson [Tue, 23 May 2000 21:39:58 +0000 (21:39 +0000)]
Fix bug: time stamp for APPEND might be #F.

24 years agoWorkaround another problem with broken mailers mangling received
Chris Hanson [Tue, 23 May 2000 21:39:27 +0000 (21:39 +0000)]
Workaround another problem with broken mailers mangling received
headers.

24 years agoFix bug: retention time being interpreted in seconds rather than
Chris Hanson [Tue, 23 May 2000 21:13:25 +0000 (21:13 +0000)]
Fix bug: retention time being interpreted in seconds rather than
minutes.  Implement M-x imail-copy-folder.

24 years agoAdd mechanism to control the retention time of IMAIL passwords.
Chris Hanson [Tue, 23 May 2000 21:00:52 +0000 (21:00 +0000)]
Add mechanism to control the retention time of IMAIL passwords.

24 years agoCan't use backquote in this kind of script.
Chris Hanson [Tue, 23 May 2000 20:22:24 +0000 (20:22 +0000)]
Can't use backquote in this kind of script.

24 years agoInitial registration.
Chris Hanson [Tue, 23 May 2000 20:20:55 +0000 (20:20 +0000)]
Initial registration.

24 years agoChange definition of SAVE-FOLDER so that it does the save only if
Chris Hanson [Tue, 23 May 2000 20:19:09 +0000 (20:19 +0000)]
Change definition of SAVE-FOLDER so that it does the save only if
there are changes to be saved, and returns true only if it does the
save.  This prevents gratuitous saves of file folders.

24 years agoMake buffer-menu code smarter about keeping its columns aligned. The
Chris Hanson [Tue, 23 May 2000 20:06:35 +0000 (20:06 +0000)]
Make buffer-menu code smarter about keeping its columns aligned.  The
menu is very hard to parse with misaligned columns.

24 years agoAdd feedback to various commands that copy messages or create/delete
Chris Hanson [Tue, 23 May 2000 19:27:27 +0000 (19:27 +0000)]
Add feedback to various commands that copy messages or create/delete
folders, so the user can see what is happening.

24 years agoFix bug in MESSAGE-LENGTH.
Chris Hanson [Tue, 23 May 2000 18:52:02 +0000 (18:52 +0000)]
Fix bug in MESSAGE-LENGTH.

24 years agoImplement explicit condition type for IMAP server errors, and use that
Chris Hanson [Tue, 23 May 2000 18:37:04 +0000 (18:37 +0000)]
Implement explicit condition type for IMAP server errors, and use that
to detect the TRYCREATE response code whereever it occurs.

24 years agoImplement WITH-OPEN-CONNECTION for use by M-x imail-copy-messages.
Chris Hanson [Tue, 23 May 2000 18:36:39 +0000 (18:36 +0000)]
Implement WITH-OPEN-CONNECTION for use by M-x imail-copy-messages.

24 years agoFix thinko in previous change. Use LOGOUT command for clean
Chris Hanson [Tue, 23 May 2000 18:36:03 +0000 (18:36 +0000)]
Fix thinko in previous change.  Use LOGOUT command for clean
disconnections.  Improve IMAP trace output to get all responses and to
hide the user's password.

24 years agoImplement explicit condition type for IMAP server errors, and use that
Chris Hanson [Tue, 23 May 2000 18:03:53 +0000 (18:03 +0000)]
Implement explicit condition type for IMAP server errors, and use that
to detect the TRYCREATE response code whereever it occurs.

24 years agoRestructure IMAP trace mechanism to output the trace directly to a file.
Chris Hanson [Tue, 23 May 2000 17:40:04 +0000 (17:40 +0000)]
Restructure IMAP trace mechanism to output the trace directly to a file.

24 years agoAdd support for UIDPLUS response codes.
Chris Hanson [Tue, 23 May 2000 17:39:48 +0000 (17:39 +0000)]
Add support for UIDPLUS response codes.

24 years agoRestructure IMAP trace mechanism to output the trace directly to a file.
Chris Hanson [Tue, 23 May 2000 15:11:04 +0000 (15:11 +0000)]
Restructure IMAP trace mechanism to output the trace directly to a file.

24 years agoNote problems with copying multiple messages to IMAP server.
Chris Hanson [Tue, 23 May 2000 14:13:44 +0000 (14:13 +0000)]
Note problems with copying multiple messages to IMAP server.

24 years agoNote problems with copying multiple messages to IMAP server.
Chris Hanson [Tue, 23 May 2000 14:12:07 +0000 (14:12 +0000)]
Note problems with copying multiple messages to IMAP server.

24 years agoFlesh out documentation strings a bit.
Chris Hanson [Tue, 23 May 2000 05:32:20 +0000 (05:32 +0000)]
Flesh out documentation strings a bit.

24 years agoDon't bind imail-delete-folder to a key. It should be hard to do this.
Chris Hanson [Tue, 23 May 2000 04:50:52 +0000 (04:50 +0000)]
Don't bind imail-delete-folder to a key.  It should be hard to do this.

24 years agoInitial registration.
Chris Hanson [Tue, 23 May 2000 04:37:42 +0000 (04:37 +0000)]
Initial registration.

24 years agoChange the modeline to show the connection status even when the
Chris Hanson [Tue, 23 May 2000 04:36:24 +0000 (04:36 +0000)]
Change the modeline to show the connection status even when the
folder is empty.

24 years agoSend STATUS folder event when IMAP folder opened. Guarantee that
Chris Hanson [Tue, 23 May 2000 04:35:48 +0000 (04:35 +0000)]
Send STATUS folder event when IMAP folder opened.  Guarantee that
connection's folder is reset if the user aborts the SELECT.

24 years agoFix bug: don't leave connection half-open if user aborts during login.
Chris Hanson [Tue, 23 May 2000 04:23:05 +0000 (04:23 +0000)]
Fix bug: don't leave connection half-open if user aborts during login.

24 years agoFix typo.
Chris Hanson [Tue, 23 May 2000 03:58:25 +0000 (03:58 +0000)]
Fix typo.

24 years agoAdd configurable confirmation for performing EXPUNGE.
Chris Hanson [Tue, 23 May 2000 03:57:44 +0000 (03:57 +0000)]
Add configurable confirmation for performing EXPUNGE.

24 years agoAdd configurable confirmation for performing EXPUNGE.
Chris Hanson [Tue, 23 May 2000 03:55:56 +0000 (03:55 +0000)]
Add configurable confirmation for performing EXPUNGE.

24 years agoImplement procedure to count number of digits in an exact nonnegative integer.
Chris Hanson [Tue, 23 May 2000 03:55:08 +0000 (03:55 +0000)]
Implement procedure to count number of digits in an exact nonnegative integer.

24 years agoImplement M-x imail-resend.
Chris Hanson [Tue, 23 May 2000 03:27:07 +0000 (03:27 +0000)]
Implement M-x imail-resend.

24 years agoAdd "online" indicator to the modeline, and implement command to
Chris Hanson [Tue, 23 May 2000 02:57:49 +0000 (02:57 +0000)]
Add "online" indicator to the modeline, and implement command to
disconnect from server.

24 years agoAdd "N unseen" indicator to the modeline.
Chris Hanson [Tue, 23 May 2000 02:26:01 +0000 (02:26 +0000)]
Add "N unseen" indicator to the modeline.

24 years agoFixed problem with login messages during completion by changing Edwin
Chris Hanson [Tue, 23 May 2000 02:12:10 +0000 (02:12 +0000)]
Fixed problem with login messages during completion by changing Edwin
to suppress all messages during completion.

24 years agoSyntax tweak.
Chris Hanson [Tue, 23 May 2000 02:10:13 +0000 (02:10 +0000)]
Syntax tweak.

24 years agoSuppress messages and command prompts while doing completion
Chris Hanson [Tue, 23 May 2000 02:09:15 +0000 (02:09 +0000)]
Suppress messages and command prompts while doing completion
operations in the minibuffer.

24 years agoFix bug: if there were two memoized connections to the same server,
Chris Hanson [Tue, 23 May 2000 00:37:57 +0000 (00:37 +0000)]
Fix bug: if there were two memoized connections to the same server,
GET-IMAP-CONNECTION was returning the first one, even if it was
closed.  It should look for one that is still open and use it, using
the closed one only if there's no open one.

24 years agoMake another stab at getting URL prompts right.
Chris Hanson [Tue, 23 May 2000 00:18:19 +0000 (00:18 +0000)]
Make another stab at getting URL prompts right.

24 years agoFix bug: don't mistakenly say that a folder is unchanged by reading
Chris Hanson [Mon, 22 May 2000 22:41:00 +0000 (22:41 +0000)]
Fix bug: don't mistakenly say that a folder is unchanged by reading
the modification count at the wrong time.

24 years agoFix bug: don't signal an error when reading BYE message.
Chris Hanson [Mon, 22 May 2000 22:40:09 +0000 (22:40 +0000)]
Fix bug: don't signal an error when reading BYE message.

24 years agoTweak URL prompting again. This is almost what I want now.
Chris Hanson [Mon, 22 May 2000 20:57:22 +0000 (20:57 +0000)]
Tweak URL prompting again.  This is almost what I want now.

24 years agoChange definition of URL-PASS-PHRASE-KEY to specify that it is also
Chris Hanson [Mon, 22 May 2000 20:51:04 +0000 (20:51 +0000)]
Change definition of URL-PASS-PHRASE-KEY to specify that it is also
part of the prompt to the user.

24 years agoDon't implement URL-PASS-PHRASE-KEY for file URLs, because it should
Chris Hanson [Mon, 22 May 2000 20:32:37 +0000 (20:32 +0000)]
Don't implement URL-PASS-PHRASE-KEY for file URLs, because it should
never be called on one of these.

24 years agoFix thinko; eliminate IMAP-CONNECTION-OPEN?.
Chris Hanson [Mon, 22 May 2000 20:28:03 +0000 (20:28 +0000)]
Fix thinko; eliminate IMAP-CONNECTION-OPEN?.

24 years agoMove pass-phrase memoization into the front end. Now connections to
Chris Hanson [Mon, 22 May 2000 20:22:52 +0000 (20:22 +0000)]
Move pass-phrase memoization into the front end.  Now connections to
the same account on the same server can share a pass phrase.

24 years agoAdd code to detect when the connection has been dropped. This test is
Chris Hanson [Mon, 22 May 2000 19:50:34 +0000 (19:50 +0000)]
Add code to detect when the connection has been dropped.  This test is
performed by GUARANTEE-IMAP-CONNECTION-OPEN, and thus will be done at
the beginning of every IMAIL operation.  The code will transparently
close the connection and reopen it.  If a problem occurs during the
processing of the operation, an error will be signalled, as one would
expect.

24 years agoImplement workaround to keep the IMAP connection open when writing
Chris Hanson [Mon, 22 May 2000 19:50:15 +0000 (19:50 +0000)]
Implement workaround to keep the IMAP connection open when writing
multiple messages.

24 years agoAlways run SAVE-FOLDER as part of CLOSE-FOLDER.
Chris Hanson [Mon, 22 May 2000 19:49:57 +0000 (19:49 +0000)]
Always run SAVE-FOLDER as part of CLOSE-FOLDER.

24 years agoImplement WITH-OPEN-FOLDER, which guarantees that the folder is opened
Chris Hanson [Mon, 22 May 2000 19:44:44 +0000 (19:44 +0000)]
Implement WITH-OPEN-FOLDER, which guarantees that the folder is opened
and closed as necessary.

24 years agoIf connection is established but folder has been closed, reselect the
Chris Hanson [Mon, 22 May 2000 19:43:47 +0000 (19:43 +0000)]
If connection is established but folder has been closed, reselect the
folder.

24 years agoReexamine IMAIL operations and add checks to guarantee that the
Chris Hanson [Mon, 22 May 2000 19:29:43 +0000 (19:29 +0000)]
Reexamine IMAIL operations and add checks to guarantee that the
connection is always opened as needed.

24 years agoAdd code to detect when the connection has been dropped. This test is
Chris Hanson [Mon, 22 May 2000 19:16:47 +0000 (19:16 +0000)]
Add code to detect when the connection has been dropped.  This test is
performed by GUARANTEE-IMAP-CONNECTION-OPEN, and thus will be done at
the beginning of every IMAIL operation.  The code will transparently
close the connection and reopen it.  If a problem occurs during the
processing of the operation, an error will be signalled, as one would
expect.

24 years agoNotes regarding bugs having to do with completion prompting.
Chris Hanson [Mon, 22 May 2000 15:25:43 +0000 (15:25 +0000)]
Notes regarding bugs having to do with completion prompting.

24 years agoFix bug: transmission of literal not counting contents correctly.
Chris Hanson [Mon, 22 May 2000 15:25:20 +0000 (15:25 +0000)]
Fix bug: transmission of literal not counting contents correctly.

24 years agoFix bug: server continuation lines not being parsed correctly.
Chris Hanson [Mon, 22 May 2000 15:24:50 +0000 (15:24 +0000)]
Fix bug: server continuation lines not being parsed correctly.

24 years agoWrite M-x imail-copy-messages.
Chris Hanson [Mon, 22 May 2000 15:08:46 +0000 (15:08 +0000)]
Write M-x imail-copy-messages.

24 years agoFix bug in handling of flags to APPEND command.
Chris Hanson [Mon, 22 May 2000 15:08:12 +0000 (15:08 +0000)]
Fix bug in handling of flags to APPEND command.

24 years agoIgnore any received headers that don't parse correctly.
Chris Hanson [Mon, 22 May 2000 15:07:55 +0000 (15:07 +0000)]
Ignore any received headers that don't parse correctly.

24 years agoFix several bugs in the "received:" header parsing code.
Chris Hanson [Mon, 22 May 2000 14:50:50 +0000 (14:50 +0000)]
Fix several bugs in the "received:" header parsing code.

24 years agoWrite M-x imail-copy-messages.
Chris Hanson [Mon, 22 May 2000 14:50:30 +0000 (14:50 +0000)]
Write M-x imail-copy-messages.

24 years agoFix typo.
Chris Hanson [Mon, 22 May 2000 14:50:02 +0000 (14:50 +0000)]
Fix typo.

24 years agoIn APPEND-MESSAGE, create mailbox if append/copy causes error
Chris Hanson [Mon, 22 May 2000 13:52:41 +0000 (13:52 +0000)]
In APPEND-MESSAGE, create mailbox if append/copy causes error
containing TRYCREATE.

24 years agoImplement IMAIL-COPY-FOLDER, a tool to copy folders to and from an
Chris Hanson [Mon, 22 May 2000 13:36:29 +0000 (13:36 +0000)]
Implement IMAIL-COPY-FOLDER, a tool to copy folders to and from an
IMAIL server.

24 years agoCanonicalize the case of IMAP URLs, where possible without knowing
Chris Hanson [Mon, 22 May 2000 13:30:18 +0000 (13:30 +0000)]
Canonicalize the case of IMAP URLs, where possible without knowing
details of the server.

24 years agoUse explicit mechanism to link variables into the Edwin package, so
Chris Hanson [Mon, 22 May 2000 13:25:38 +0000 (13:25 +0000)]
Use explicit mechanism to link variables into the Edwin package, so
that IMAIL can be reloaded.

24 years agoEliminate FOLDER-VALID?, replacing it with the more sensible
Chris Hanson [Mon, 22 May 2000 04:01:58 +0000 (04:01 +0000)]
Eliminate FOLDER-VALID?, replacing it with the more sensible
URL-EXISTS?.

24 years agoGeneralize MOVE-RELATIVE to accept a raw command argument rather than
Chris Hanson [Mon, 22 May 2000 04:01:06 +0000 (04:01 +0000)]
Generalize MOVE-RELATIVE to accept a raw command argument rather than
a delta, and to do something sensible if there's no prefix argument.

24 years agoIn flag-modification commands, don't advance to next message unless a
Chris Hanson [Mon, 22 May 2000 03:55:22 +0000 (03:55 +0000)]
In flag-modification commands, don't advance to next message unless a
prefix argument is given.

24 years agoIMAIL-GET-DEFAULT-URL must never signal an error.
Chris Hanson [Mon, 22 May 2000 03:49:11 +0000 (03:49 +0000)]
IMAIL-GET-DEFAULT-URL must never signal an error.

24 years agoEliminate FOLDER-VALID?, replacing it with the more sensible
Chris Hanson [Mon, 22 May 2000 03:44:22 +0000 (03:44 +0000)]
Eliminate FOLDER-VALID?, replacing it with the more sensible
URL-EXISTS?.

24 years agoSuppress the IMAP port if it is the standard port.
Chris Hanson [Mon, 22 May 2000 03:43:39 +0000 (03:43 +0000)]
Suppress the IMAP port if it is the standard port.

24 years agoEliminate FOLDER-VALID?, replacing it with the more sensible
Chris Hanson [Mon, 22 May 2000 03:37:00 +0000 (03:37 +0000)]
Eliminate FOLDER-VALID?, replacing it with the more sensible
URL-EXISTS?.

24 years agoProvide inserted default strings to all URL prompts.
Chris Hanson [Mon, 22 May 2000 03:32:17 +0000 (03:32 +0000)]
Provide inserted default strings to all URL prompts.

24 years agoRestructure the URL completion code to clean it up a bit. Change the
Chris Hanson [Mon, 22 May 2000 03:01:30 +0000 (03:01 +0000)]
Restructure the URL completion code to clean it up a bit.  Change the
completer so that it doesn't do completion on URL protocols.  Instead,
if there isn't a protocol prefix on the string, it assumes the
protocol of the default URL, and completes the string relative to that
URL.

24 years agoImplement URL completion, and reimplement URL parsing to do sensible
Chris Hanson [Mon, 22 May 2000 02:17:58 +0000 (02:17 +0000)]
Implement URL completion, and reimplement URL parsing to do sensible
defaulting.  This implementation appears to work but has several minor
problems.

24 years agoFix typo and also type error.
Chris Hanson [Sun, 21 May 2000 00:03:32 +0000 (00:03 +0000)]
Fix typo and also type error.

24 years agoExport procedures for deconstructing LIST responses.
Chris Hanson [Sun, 21 May 2000 00:03:05 +0000 (00:03 +0000)]
Export procedures for deconstructing LIST responses.

24 years agoSupply missing STRING-GREATEST-COMMON-PREFIX, needed by completion code.
Chris Hanson [Sat, 20 May 2000 20:08:37 +0000 (20:08 +0000)]
Supply missing STRING-GREATEST-COMMON-PREFIX, needed by completion code.

24 years agoPathname completion filters now accept a pathname rather than a
Chris Hanson [Sat, 20 May 2000 19:39:20 +0000 (19:39 +0000)]
Pathname completion filters now accept a pathname rather than a
string.

24 years agoChange URL completion so that completion stops after completing a
Chris Hanson [Sat, 20 May 2000 19:37:03 +0000 (19:37 +0000)]
Change URL completion so that completion stops after completing a
protocol name, rather than continuing to complete the body.

24 years agoFix braino in pathname completion. Previous design would have
Chris Hanson [Sat, 20 May 2000 19:36:28 +0000 (19:36 +0000)]
Fix braino in pathname completion.  Previous design would have
recursively read every subdirectory of the given directory attempting
to enumerate files to present to the filter.  This design descends
exactly one level at a time, as it should.

24 years agoSplit off broken-pipe detection code. This has little effect now but
Chris Hanson [Sat, 20 May 2000 19:09:58 +0000 (19:09 +0000)]
Split off broken-pipe detection code.  This has little effect now but
will be useful later when I improve the error recovery.

24 years agoChange syscall name and error tables to lower case. These strings are
Chris Hanson [Sat, 20 May 2000 18:59:16 +0000 (18:59 +0000)]
Change syscall name and error tables to lower case.  These strings are
converted into symbols without case modification, and must be in the
correct case for the runtime system.

24 years agoFirst draft of URL completion mechanism. IMAP method not yet
Chris Hanson [Sat, 20 May 2000 03:24:31 +0000 (03:24 +0000)]
First draft of URL completion mechanism.  IMAP method not yet
implemented.

24 years agoReminder to move pathname-completion code into the runtime system.
Chris Hanson [Sat, 20 May 2000 03:23:32 +0000 (03:23 +0000)]
Reminder to move pathname-completion code into the runtime system.

24 years agoFirst draft of URL completion mechanism. IMAP method not yet
Chris Hanson [Sat, 20 May 2000 03:22:52 +0000 (03:22 +0000)]
First draft of URL completion mechanism.  IMAP method not yet
implemented.

24 years agoExport edwin commands, modes, and variables.
Chris Hanson [Fri, 19 May 2000 21:37:48 +0000 (21:37 +0000)]
Export edwin commands, modes, and variables.

24 years agoSummary-buffer navigation now fixed.
Chris Hanson [Fri, 19 May 2000 21:28:43 +0000 (21:28 +0000)]
Summary-buffer navigation now fixed.

24 years agoDefine MOVE-RELATIVE-ANY.
Chris Hanson [Fri, 19 May 2000 21:25:31 +0000 (21:25 +0000)]
Define MOVE-RELATIVE-ANY.

24 years agoChange flag-marking commands to accept a prefix argument to repeat with.
Chris Hanson [Fri, 19 May 2000 21:24:12 +0000 (21:24 +0000)]
Change flag-marking commands to accept a prefix argument to repeat with.

24 years agoM-x imail-expunge should not use the navigator abstraction.
Chris Hanson [Fri, 19 May 2000 21:12:14 +0000 (21:12 +0000)]
M-x imail-expunge should not use the navigator abstraction.

24 years agoFix bug: SELECT-MESSAGE event can be called with no message.
Chris Hanson [Fri, 19 May 2000 21:10:20 +0000 (21:10 +0000)]
Fix bug: SELECT-MESSAGE event can be called with no message.

24 years agoAssorted design changes.
Chris Hanson [Fri, 19 May 2000 21:03:53 +0000 (21:03 +0000)]
Assorted design changes.

24 years agoChange SET-MESSAGE-FLAGS! so that a folder event is generated when the
Chris Hanson [Fri, 19 May 2000 21:02:20 +0000 (21:02 +0000)]
Change SET-MESSAGE-FLAGS! so that a folder event is generated when the
flags are stored, rather than when the the storage request is
initiated.  IMAP can sometimes set the flags when no request has been
initiated.

24 years agoBind M-x imail-summary-by-flags to C-M-f rather than C-M-l.
Chris Hanson [Fri, 19 May 2000 20:57:56 +0000 (20:57 +0000)]
Bind M-x imail-summary-by-flags to C-M-f rather than C-M-l.

24 years agoUse new navigator abstraction to allow the summary buffer to share
Chris Hanson [Fri, 19 May 2000 20:57:29 +0000 (20:57 +0000)]
Use new navigator abstraction to allow the summary buffer to share
nearly all of the IMAIL mode commands.  Fix various bugs, both in
summary mode and in the navigator abstraction.

24 years agoUse UID STORE rather than STORE.
Chris Hanson [Fri, 19 May 2000 20:08:25 +0000 (20:08 +0000)]
Use UID STORE rather than STORE.

24 years agoFix thinko.
Chris Hanson [Fri, 19 May 2000 20:03:12 +0000 (20:03 +0000)]
Fix thinko.