mit-scheme.git
24 years agoChange interface to MESSAGE-MIME-BODY-PART to specify whether to cache
Chris Hanson [Mon, 5 Jun 2000 17:50:53 +0000 (17:50 +0000)]
Change interface to MESSAGE-MIME-BODY-PART to specify whether to cache
the part.

24 years agoFix thinko from last change.
Chris Hanson [Mon, 5 Jun 2000 17:44:58 +0000 (17:44 +0000)]
Fix thinko from last change.

24 years agoStore bodystructure in IMAP message in converted form, so conversion
Chris Hanson [Mon, 5 Jun 2000 17:35:04 +0000 (17:35 +0000)]
Store bodystructure in IMAP message in converted form, so conversion
only happens once.

24 years agoChange attachment tag to show length of attachment.
Chris Hanson [Mon, 5 Jun 2000 17:32:35 +0000 (17:32 +0000)]
Change attachment tag to show length of attachment.

24 years agoAdd cache for MIME body parts.
Chris Hanson [Mon, 5 Jun 2000 17:29:43 +0000 (17:29 +0000)]
Add cache for MIME body parts.

24 years agoSave server capabilities for later reference.
Chris Hanson [Mon, 5 Jun 2000 17:25:38 +0000 (17:25 +0000)]
Save server capabilities for later reference.

24 years agoMap all IMAP system flags to names without leading backslash.
Chris Hanson [Mon, 5 Jun 2000 17:20:47 +0000 (17:20 +0000)]
Map all IMAP system flags to names without leading backslash.

24 years agoAdd some new items.
Chris Hanson [Mon, 5 Jun 2000 13:28:19 +0000 (13:28 +0000)]
Add some new items.

24 years agoFix bug: don't signal error if attachment lacks a filename parameter.
Chris Hanson [Mon, 5 Jun 2000 13:27:42 +0000 (13:27 +0000)]
Fix bug: don't signal error if attachment lacks a filename parameter.

24 years agoFix bug: STATUS command returns a response! (Duh)
Chris Hanson [Sat, 3 Jun 2000 07:16:33 +0000 (07:16 +0000)]
Fix bug: STATUS command returns a response!  (Duh)

24 years agoWhen saving attachment, check to see if file exists before blindly
Chris Hanson [Sat, 3 Jun 2000 02:11:02 +0000 (02:11 +0000)]
When saving attachment, check to see if file exists before blindly
overwriting it.

24 years agoChange decoders to decode to a port rather than to a string. This is
Chris Hanson [Sat, 3 Jun 2000 01:58:32 +0000 (01:58 +0000)]
Change decoders to decode to a port rather than to a string.  This is
almost always more efficient.

24 years agoImplement mechanism to save MIME attachments. Reorganize this file a
Chris Hanson [Sat, 3 Jun 2000 01:57:31 +0000 (01:57 +0000)]
Implement mechanism to save MIME attachments.  Reorganize this file a
little to make sections more coherent.

24 years agoAdd workaround for broken Netscape mailer.
Chris Hanson [Fri, 2 Jun 2000 20:42:35 +0000 (20:42 +0000)]
Add workaround for broken Netscape mailer.

24 years agoChange MIME bodystructure objects to have properties.
Chris Hanson [Fri, 2 Jun 2000 20:35:17 +0000 (20:35 +0000)]
Change MIME bodystructure objects to have properties.

24 years agoTweak attachment syntax slightly.
Chris Hanson [Fri, 2 Jun 2000 18:15:21 +0000 (18:15 +0000)]
Tweak attachment syntax slightly.

24 years agoEliminate usage of MARK-PERMANENT!.
Chris Hanson [Fri, 2 Jun 2000 17:29:10 +0000 (17:29 +0000)]
Eliminate usage of MARK-PERMANENT!.

24 years agoIdeas about MIME stuff.
Chris Hanson [Fri, 2 Jun 2000 17:28:33 +0000 (17:28 +0000)]
Ideas about MIME stuff.

24 years agoFix bug in how message/rfc822 entities were presented (headers were
Chris Hanson [Fri, 2 Jun 2000 17:28:18 +0000 (17:28 +0000)]
Fix bug in how message/rfc822 entities were presented (headers were
being shown twice).  Change text representation of attachments, and
binding information to the buffer so that the attachment can later be
saved.

24 years agoFix bug: MIME disposition wasn't being converted to canonical form.
Chris Hanson [Fri, 2 Jun 2000 17:25:18 +0000 (17:25 +0000)]
Fix bug: MIME disposition wasn't being converted to canonical form.

24 years agoAdd MIME-BODY-PARAMETER.
Chris Hanson [Fri, 2 Jun 2000 17:24:52 +0000 (17:24 +0000)]
Add MIME-BODY-PARAMETER.

24 years agoUpdate to reflect new organization.
Chris Hanson [Fri, 2 Jun 2000 02:52:30 +0000 (02:52 +0000)]
Update to reflect new organization.

24 years agoRemove two suggestions prompted by Julie's problems with automatic
Chris Hanson [Fri, 2 Jun 2000 02:50:18 +0000 (02:50 +0000)]
Remove two suggestions prompted by Julie's problems with automatic
conversion to quoted-printable.

24 years agoShow "text/plain" entities regardless of character set. There are
Chris Hanson [Fri, 2 Jun 2000 02:48:08 +0000 (02:48 +0000)]
Show "text/plain" entities regardless of character set.  There are
some pretty broken mailers out there (e.g. Outlook Express) that claim
random character sets when they should be claiming "us-ascii".

24 years agoPrint out <MIME-BODY> instances in more intelligible form.
Chris Hanson [Fri, 2 Jun 2000 02:41:26 +0000 (02:41 +0000)]
Print out <MIME-BODY> instances in more intelligible form.

24 years agoMove Edwin variable exports back to "imail.pkg". Add subsystem ID
Chris Hanson [Fri, 2 Jun 2000 02:33:56 +0000 (02:33 +0000)]
Move Edwin variable exports back to "imail.pkg".  Add subsystem ID
string for IMAIL.

24 years agoRefine the auto-wrap feature to have separate controlling variables
Chris Hanson [Fri, 2 Jun 2000 02:25:36 +0000 (02:25 +0000)]
Refine the auto-wrap feature to have separate controlling variables
for encoded and unencoded parts.

Fix URL completion so that it verifies values correctly by calling
URL-EXISTS?, and change callers to specify when the URL they are
prompting for must exist.

24 years agoImplement URL-EXISTS? for IMAP folders.
Chris Hanson [Fri, 2 Jun 2000 02:23:37 +0000 (02:23 +0000)]
Implement URL-EXISTS? for IMAP folders.

24 years agoAdd automatic wrapping of long lines in decoded MIME entities.
Chris Hanson [Fri, 2 Jun 2000 01:54:19 +0000 (01:54 +0000)]
Add automatic wrapping of long lines in decoded MIME entities.

24 years agoShow progress when reading MIME body parts.
Chris Hanson [Fri, 2 Jun 2000 01:52:46 +0000 (01:52 +0000)]
Show progress when reading MIME body parts.

24 years agoChange AUTO-FILL-BREAK so that it accepts a mark as an argument, and
Chris Hanson [Fri, 2 Jun 2000 00:43:25 +0000 (00:43 +0000)]
Change AUTO-FILL-BREAK so that it accepts a mark as an argument, and
returns a boolean indicating whether it broke the line.

24 years agoInitial cut at MIME decoding support.
Chris Hanson [Thu, 1 Jun 2000 20:10:21 +0000 (20:10 +0000)]
Initial cut at MIME decoding support.

24 years agoGeneralize MESSAGE-MIME-BODY-PART to allow passing selector ending in
Chris Hanson [Thu, 1 Jun 2000 20:08:26 +0000 (20:08 +0000)]
Generalize MESSAGE-MIME-BODY-PART to allow passing selector ending in
HEADER or TEXT.

24 years agoLoad "mime-codec" after "imail-util" due to load-time dependencies.
Chris Hanson [Thu, 1 Jun 2000 20:07:37 +0000 (20:07 +0000)]
Load "mime-codec" after "imail-util" due to load-time dependencies.

24 years agoSignal an error if unable to parse BODY section in FETCH response.
Chris Hanson [Thu, 1 Jun 2000 20:07:07 +0000 (20:07 +0000)]
Signal an error if unable to parse BODY section in FETCH response.

24 years agoFix two bugs in LIST-PARSER.
Chris Hanson [Thu, 1 Jun 2000 20:06:38 +0000 (20:06 +0000)]
Fix two bugs in LIST-PARSER.

24 years agoStore MIME multipart components in a list rather than a vector.
Chris Hanson [Thu, 1 Jun 2000 19:29:35 +0000 (19:29 +0000)]
Store MIME multipart components in a list rather than a vector.

24 years agoWhen decoding BASE64 text strings, must return two values.
Chris Hanson [Thu, 1 Jun 2000 19:29:05 +0000 (19:29 +0000)]
When decoding BASE64 text strings, must return two values.

24 years agoImplement MESSAGE-MIME-BODY-PART.
Chris Hanson [Thu, 1 Jun 2000 18:46:59 +0000 (18:46 +0000)]
Implement MESSAGE-MIME-BODY-PART.

24 years agoImplement IMAP:RESPONSE:FETCH-BODY-PART.
Chris Hanson [Thu, 1 Jun 2000 18:44:41 +0000 (18:44 +0000)]
Implement IMAP:RESPONSE:FETCH-BODY-PART.

24 years agoFix compiler warnings.
Chris Hanson [Thu, 1 Jun 2000 18:25:37 +0000 (18:25 +0000)]
Fix compiler warnings.

24 years agoAdd "mime-codec" to package.
Chris Hanson [Thu, 1 Jun 2000 18:23:58 +0000 (18:23 +0000)]
Add "mime-codec" to package.

24 years agoAdd newline translation to BASE64 decoder for case where the data
Chris Hanson [Thu, 1 Jun 2000 18:21:07 +0000 (18:21 +0000)]
Add newline translation to BASE64 decoder for case where the data
being decoded is text.

24 years agoAdd generic interface to access MIME BODYSTRUCTURE information.
Chris Hanson [Thu, 1 Jun 2000 05:10:16 +0000 (05:10 +0000)]
Add generic interface to access MIME BODYSTRUCTURE information.

24 years agoFix two bugs in syntax.
Chris Hanson [Thu, 1 Jun 2000 04:56:42 +0000 (04:56 +0000)]
Fix two bugs in syntax.

24 years agoRemoving files no longer in use.
Chris Hanson [Thu, 1 Jun 2000 01:00:53 +0000 (01:00 +0000)]
Removing files no longer in use.

24 years agoCopy entire contents of directory to installation point. This now
Chris Hanson [Wed, 31 May 2000 23:54:11 +0000 (23:54 +0000)]
Copy entire contents of directory to installation point.  This now
matters so that copy in my directory will act as a branch for
development.

24 years agoFix typo.
Chris Hanson [Wed, 31 May 2000 02:10:35 +0000 (02:10 +0000)]
Fix typo.

24 years agoWhen showing progress meter, don't show percentage when amount read is
Chris Hanson [Tue, 30 May 2000 21:01:33 +0000 (21:01 +0000)]
When showing progress meter, don't show percentage when amount read is
either zero or the total amount.  This causes the display to flicker
and provides no useful information.

24 years agoUse STRING->HEADER-FIELDS.
Chris Hanson [Tue, 30 May 2000 20:53:51 +0000 (20:53 +0000)]
Use STRING->HEADER-FIELDS.

24 years agoFix bug: STRING->LINES must not return an empty list.
Chris Hanson [Tue, 30 May 2000 20:53:19 +0000 (20:53 +0000)]
Fix bug: STRING->LINES must not return an empty list.

24 years agoChange M-x imail-input, M-x imail, and M-x imail-get-new-mail to more
Chris Hanson [Tue, 30 May 2000 20:21:52 +0000 (20:21 +0000)]
Change M-x imail-input, M-x imail, and M-x imail-get-new-mail to more
closely mimic their RMAIL counterparts.

24 years agoFix typo in DECODE-QP-HEX-OCTET.
Chris Hanson [Tue, 30 May 2000 18:32:56 +0000 (18:32 +0000)]
Fix typo in DECODE-QP-HEX-OCTET.

24 years agoNeed command to move to first unseen message in folder.
Chris Hanson [Tue, 30 May 2000 13:01:05 +0000 (13:01 +0000)]
Need command to move to first unseen message in folder.

24 years agoRewrite READ-LITERAL with two aims: (1) to make the newline
Chris Hanson [Tue, 30 May 2000 04:02:27 +0000 (04:02 +0000)]
Rewrite READ-LITERAL with two aims: (1) to make the newline
translation more efficient, and (2) to generalize it so that MIME
decoding can be directly hooked in.

24 years agoGET-OUTPUT-FROM-ACCUMULATOR should return the internal accumulator
Chris Hanson [Tue, 30 May 2000 03:51:59 +0000 (03:51 +0000)]
GET-OUTPUT-FROM-ACCUMULATOR should return the internal accumulator
string, rather than copying the string to a new one.  Since the
internal accumulator is discarded, this is not a problem, and offers
significant efficiency gains.

24 years agoFix typo.
Chris Hanson [Mon, 29 May 2000 04:39:03 +0000 (04:39 +0000)]
Fix typo.

24 years agoPull transcript handling from READ-LITERAL to new
Chris Hanson [Mon, 29 May 2000 04:35:29 +0000 (04:35 +0000)]
Pull transcript handling from READ-LITERAL to new
READ-SUBSTRING!-INTERNAL.

24 years agoTweak conditions under which literal progress hook is called.
Chris Hanson [Sun, 28 May 2000 15:29:22 +0000 (15:29 +0000)]
Tweak conditions under which literal progress hook is called.

24 years agoModularize line-ending translator.
Chris Hanson [Sun, 28 May 2000 15:25:37 +0000 (15:25 +0000)]
Modularize line-ending translator.

24 years agoDisambiguate the "section" form of the BODY response from the
Chris Hanson [Sun, 28 May 2000 15:16:51 +0000 (15:16 +0000)]
Disambiguate the "section" form of the BODY response from the
"bodystructure" form.

24 years agoDon't remove IMAP connections from the memoized list when they are
Chris Hanson [Sun, 28 May 2000 03:12:56 +0000 (03:12 +0000)]
Don't remove IMAP connections from the memoized list when they are
closed.  Each folder retains a pointer to its connection after closing
it, and may reopen the connection later.  When this happens, it
defeats the purpose of the memoization.

24 years agoFix minor bug in description of FETCH BODY responses.
Chris Hanson [Sat, 27 May 2000 14:42:09 +0000 (14:42 +0000)]
Fix minor bug in description of FETCH BODY responses.

24 years agoImplement BASE64 decoder.
Chris Hanson [Sat, 27 May 2000 00:11:06 +0000 (00:11 +0000)]
Implement BASE64 decoder.

24 years agoImplement SKIP-LWSP-BACKWARDS.
Chris Hanson [Sat, 27 May 2000 00:10:12 +0000 (00:10 +0000)]
Implement SKIP-LWSP-BACKWARDS.

24 years agoOnly install required files.
Chris Hanson [Fri, 26 May 2000 18:54:03 +0000 (18:54 +0000)]
Only install required files.

24 years agoSet truncate-lines to #t in buffer that pops up to show messages to be
Chris Hanson [Fri, 26 May 2000 18:47:21 +0000 (18:47 +0000)]
Set truncate-lines to #t in buffer that pops up to show messages to be
expunged.

24 years agoInitial registration.
Chris Hanson [Fri, 26 May 2000 18:45:44 +0000 (18:45 +0000)]
Initial registration.

24 years agoAdd ability to obtain envelope and bodystructure information from the
Chris Hanson [Fri, 26 May 2000 17:27:15 +0000 (17:27 +0000)]
Add ability to obtain envelope and bodystructure information from the
server.

24 years agoReorganize login code so that login errors are properly signalled.
Chris Hanson [Thu, 25 May 2000 22:34:05 +0000 (22:34 +0000)]
Reorganize login code so that login errors are properly signalled.

24 years agoIf M-x imail finds existing buffer visiting the folder, it just
Chris Hanson [Thu, 25 May 2000 22:24:20 +0000 (22:24 +0000)]
If M-x imail finds existing buffer visiting the folder, it just
selects it and runs M-x imail-get-new-mail.

24 years agoGeneralize imail-expunge-confirmation to make the type of prompt and
Chris Hanson [Thu, 25 May 2000 22:16:53 +0000 (22:16 +0000)]
Generalize imail-expunge-confirmation to make the type of prompt and
the showing of message independently selectable.

24 years agoDon't store the user's pass phrase if the login fails.
Chris Hanson [Thu, 25 May 2000 05:17:35 +0000 (05:17 +0000)]
Don't store the user's pass phrase if the login fails.

24 years agoImplement mechanism to poll the IMAP server in the background at a
Chris Hanson [Thu, 25 May 2000 05:06:55 +0000 (05:06 +0000)]
Implement mechanism to poll the IMAP server in the background at a
specified interval.

24 years agoFix bug: must read message UIDs _before_ signalling folder event, as
Chris Hanson [Thu, 25 May 2000 05:01:40 +0000 (05:01 +0000)]
Fix bug: must read message UIDs _before_ signalling folder event, as
the event handler will usually access the folder, causing extra
unnecessary traffic.

24 years agoFix bug: must read message UIDs _before_ signalling folder event, as
Chris Hanson [Thu, 25 May 2000 04:53:25 +0000 (04:53 +0000)]
Fix bug: must read message UIDs _before_ signalling folder event, as
the event handler will usually access the folder, causing extra
unnecessary traffic.

24 years agoRun inferior-thread output processors with interrupts enabled.
Chris Hanson [Thu, 25 May 2000 03:33:47 +0000 (03:33 +0000)]
Run inferior-thread output processors with interrupts enabled.

24 years agoReply buffer must refer to the message buffer, not the current buffer.
Chris Hanson [Wed, 24 May 2000 23:21:53 +0000 (23:21 +0000)]
Reply buffer must refer to the message buffer, not the current buffer.

24 years agoFix typo that caused MOVE-RELATIVE to ignore its operation when moving
Chris Hanson [Wed, 24 May 2000 21:43:21 +0000 (21:43 +0000)]
Fix typo that caused MOVE-RELATIVE to ignore its operation when moving
backwards.

24 years agoExport EDWIN-VARIABLE$IMAIL-PASS-PHRASE-RETENTION-TIME.
Chris Hanson [Wed, 24 May 2000 20:23:07 +0000 (20:23 +0000)]
Export EDWIN-VARIABLE$IMAIL-PASS-PHRASE-RETENTION-TIME.

24 years agoMinor changes.
Chris Hanson [Wed, 24 May 2000 19:45:21 +0000 (19:45 +0000)]
Minor changes.

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.