Chris Hanson [Tue, 30 May 2000 20:53:19 +0000 (20:53 +0000)]
Fix bug: STRING->LINES must not return an empty list.
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.
Chris Hanson [Tue, 30 May 2000 18:32:56 +0000 (18:32 +0000)]
Fix typo in DECODE-QP-HEX-OCTET.
Chris Hanson [Tue, 30 May 2000 13:01:05 +0000 (13:01 +0000)]
Need command to move to first unseen message in folder.
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.
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.
Chris Hanson [Mon, 29 May 2000 04:39:03 +0000 (04:39 +0000)]
Fix typo.
Chris Hanson [Mon, 29 May 2000 04:35:29 +0000 (04:35 +0000)]
Pull transcript handling from READ-LITERAL to new
READ-SUBSTRING!-INTERNAL.
Chris Hanson [Sun, 28 May 2000 15:29:22 +0000 (15:29 +0000)]
Tweak conditions under which literal progress hook is called.
Chris Hanson [Sun, 28 May 2000 15:25:37 +0000 (15:25 +0000)]
Modularize line-ending translator.
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.
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.
Chris Hanson [Sat, 27 May 2000 14:42:09 +0000 (14:42 +0000)]
Fix minor bug in description of FETCH BODY responses.
Chris Hanson [Sat, 27 May 2000 00:11:06 +0000 (00:11 +0000)]
Implement BASE64 decoder.
Chris Hanson [Sat, 27 May 2000 00:10:12 +0000 (00:10 +0000)]
Implement SKIP-LWSP-BACKWARDS.
Chris Hanson [Fri, 26 May 2000 18:54:03 +0000 (18:54 +0000)]
Only install required files.
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.
Chris Hanson [Fri, 26 May 2000 18:45:44 +0000 (18:45 +0000)]
Initial registration.
Chris Hanson [Fri, 26 May 2000 17:27:15 +0000 (17:27 +0000)]
Add ability to obtain envelope and bodystructure information from the
server.
Chris Hanson [Thu, 25 May 2000 22:34:05 +0000 (22:34 +0000)]
Reorganize login code so that login errors are properly signalled.
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.
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.
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.
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.
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.
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.
Chris Hanson [Thu, 25 May 2000 03:33:47 +0000 (03:33 +0000)]
Run inferior-thread output processors with interrupts enabled.
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.
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.
Chris Hanson [Wed, 24 May 2000 20:23:07 +0000 (20:23 +0000)]
Export EDWIN-VARIABLE$IMAIL-PASS-PHRASE-RETENTION-TIME.
Chris Hanson [Wed, 24 May 2000 19:45:21 +0000 (19:45 +0000)]
Minor changes.
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.
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.
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!
Chris Hanson [Tue, 23 May 2000 21:39:58 +0000 (21:39 +0000)]
Fix bug: time stamp for APPEND might be #F.
Chris Hanson [Tue, 23 May 2000 21:39:27 +0000 (21:39 +0000)]
Workaround another problem with broken mailers mangling received
headers.
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.
Chris Hanson [Tue, 23 May 2000 21:00:52 +0000 (21:00 +0000)]
Add mechanism to control the retention time of IMAIL passwords.
Chris Hanson [Tue, 23 May 2000 20:22:24 +0000 (20:22 +0000)]
Can't use backquote in this kind of script.
Chris Hanson [Tue, 23 May 2000 20:20:55 +0000 (20:20 +0000)]
Initial registration.
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.
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.
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.
Chris Hanson [Tue, 23 May 2000 18:52:02 +0000 (18:52 +0000)]
Fix bug in MESSAGE-LENGTH.
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.
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.
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.
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.
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.
Chris Hanson [Tue, 23 May 2000 17:39:48 +0000 (17:39 +0000)]
Add support for UIDPLUS response codes.
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.
Chris Hanson [Tue, 23 May 2000 14:13:44 +0000 (14:13 +0000)]
Note 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.
Chris Hanson [Tue, 23 May 2000 05:32:20 +0000 (05:32 +0000)]
Flesh out documentation strings a bit.
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.
Chris Hanson [Tue, 23 May 2000 04:37:42 +0000 (04:37 +0000)]
Initial registration.
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.
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.
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.
Chris Hanson [Tue, 23 May 2000 03:58:25 +0000 (03:58 +0000)]
Fix typo.
Chris Hanson [Tue, 23 May 2000 03:57:44 +0000 (03:57 +0000)]
Add configurable confirmation for performing EXPUNGE.
Chris Hanson [Tue, 23 May 2000 03:55:56 +0000 (03:55 +0000)]
Add configurable confirmation for performing EXPUNGE.
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.
Chris Hanson [Tue, 23 May 2000 03:27:07 +0000 (03:27 +0000)]
Implement M-x imail-resend.
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.
Chris Hanson [Tue, 23 May 2000 02:26:01 +0000 (02:26 +0000)]
Add "N unseen" indicator to the modeline.
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.
Chris Hanson [Tue, 23 May 2000 02:10:13 +0000 (02:10 +0000)]
Syntax tweak.
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.
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.
Chris Hanson [Tue, 23 May 2000 00:18:19 +0000 (00:18 +0000)]
Make another stab at getting URL prompts right.
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.
Chris Hanson [Mon, 22 May 2000 22:40:09 +0000 (22:40 +0000)]
Fix bug: don't signal an error when reading BYE message.
Chris Hanson [Mon, 22 May 2000 20:57:22 +0000 (20:57 +0000)]
Tweak URL prompting again. This is almost what I want now.
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.
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.
Chris Hanson [Mon, 22 May 2000 20:28:03 +0000 (20:28 +0000)]
Fix thinko; eliminate IMAP-CONNECTION-OPEN?.
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.
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.
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.
Chris Hanson [Mon, 22 May 2000 19:49:57 +0000 (19:49 +0000)]
Always run SAVE-FOLDER as part of CLOSE-FOLDER.
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.
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.
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.
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.
Chris Hanson [Mon, 22 May 2000 15:25:43 +0000 (15:25 +0000)]
Notes regarding bugs having to do with completion prompting.
Chris Hanson [Mon, 22 May 2000 15:25:20 +0000 (15:25 +0000)]
Fix bug: transmission of literal not counting contents correctly.
Chris Hanson [Mon, 22 May 2000 15:24:50 +0000 (15:24 +0000)]
Fix bug: server continuation lines not being parsed correctly.
Chris Hanson [Mon, 22 May 2000 15:08:46 +0000 (15:08 +0000)]
Write M-x imail-copy-messages.
Chris Hanson [Mon, 22 May 2000 15:08:12 +0000 (15:08 +0000)]
Fix bug in handling of flags to APPEND command.
Chris Hanson [Mon, 22 May 2000 15:07:55 +0000 (15:07 +0000)]
Ignore any received headers that don't parse correctly.
Chris Hanson [Mon, 22 May 2000 14:50:50 +0000 (14:50 +0000)]
Fix several bugs in the "received:" header parsing code.
Chris Hanson [Mon, 22 May 2000 14:50:30 +0000 (14:50 +0000)]
Write M-x imail-copy-messages.
Chris Hanson [Mon, 22 May 2000 14:50:02 +0000 (14:50 +0000)]
Fix typo.
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.
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.
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.
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.
Chris Hanson [Mon, 22 May 2000 04:01:58 +0000 (04:01 +0000)]
Eliminate FOLDER-VALID?, replacing it with the more sensible
URL-EXISTS?.
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.