mit-scheme.git
24 years agoSet buffer default directory to something sensible.
Chris Hanson [Wed, 17 May 2000 17:20:14 +0000 (17:20 +0000)]
Set buffer default directory to something sensible.

24 years agoGenerate predicate for file folders.
Chris Hanson [Wed, 17 May 2000 17:18:19 +0000 (17:18 +0000)]
Generate predicate for file folders.

24 years agoChange definition of imail-kept-headers so that it specifies the order
Chris Hanson [Wed, 17 May 2000 17:15:22 +0000 (17:15 +0000)]
Change definition of imail-kept-headers so that it specifies the order
of the headers as well.

24 years agoSet buffer not modified bit.
Chris Hanson [Wed, 17 May 2000 17:06:53 +0000 (17:06 +0000)]
Set buffer not modified bit.

24 years agoChange FIRST-UNSEEN-MESSAGE to return #F if there are no unseen
Chris Hanson [Wed, 17 May 2000 17:04:08 +0000 (17:04 +0000)]
Change FIRST-UNSEEN-MESSAGE to return #F if there are no unseen
messages; previously it returned the last message.  Reexamine all of
the uses of FIRST-UNSEEN-MESSAGE and refine the logic there.

24 years agoChange FIRST-UNSEEN-MESSAGE to return #F if there are no unseen
Chris Hanson [Wed, 17 May 2000 17:00:54 +0000 (17:00 +0000)]
Change FIRST-UNSEEN-MESSAGE to return #F if there are no unseen
messages; previously it returned the last message.  Reexamine all of
the uses of FIRST-UNSEEN-MESSAGE and refine the logic there.

24 years agoNote regarding generation of status messages during I/O.
Chris Hanson [Wed, 17 May 2000 16:25:06 +0000 (16:25 +0000)]
Note regarding generation of status messages during I/O.

24 years agoFix bug: expunging of IMAP messages wasn't renumbering the remaining
Chris Hanson [Wed, 17 May 2000 16:23:29 +0000 (16:23 +0000)]
Fix bug: expunging of IMAP messages wasn't renumbering the remaining
messages.

24 years agoChange method used to fetch message contents so that it uses UID FETCH
Chris Hanson [Wed, 17 May 2000 16:15:49 +0000 (16:15 +0000)]
Change method used to fetch message contents so that it uses UID FETCH
rather than FETCH.

24 years agoImplement MESSAGE-ATTACHED? and MESSAGE-DETACHED?, to abstract the
Chris Hanson [Wed, 17 May 2000 15:46:57 +0000 (15:46 +0000)]
Implement MESSAGE-ATTACHED? and MESSAGE-DETACHED?, to abstract the
details of this query.  Refine the method used to obtain the selected
message, by saving the message index when a message is detached, and
using that index to choose a new message.

24 years agoEliminate COPY-MESSAGE, which no longer worked.
Chris Hanson [Wed, 17 May 2000 15:03:49 +0000 (15:03 +0000)]
Eliminate COPY-MESSAGE, which no longer worked.

24 years agoFix bug: SELECTED-MESSAGE must not choose another message at random if
Chris Hanson [Wed, 17 May 2000 13:41:08 +0000 (13:41 +0000)]
Fix bug: SELECTED-MESSAGE must not choose another message at random if
the buffer's message isn't valid.

24 years agoFix two bugs associated with expunging of messages. This now seems to
Chris Hanson [Wed, 17 May 2000 13:33:04 +0000 (13:33 +0000)]
Fix two bugs associated with expunging of messages.  This now seems to
work right.

24 years agoReimplement growing and shrinking of messages vector.
Chris Hanson [Tue, 16 May 2000 22:07:38 +0000 (22:07 +0000)]
Reimplement growing and shrinking of messages vector.

24 years agoSet imail buffer directory to home directory for IMAP folders.
Chris Hanson [Tue, 16 May 2000 22:00:54 +0000 (22:00 +0000)]
Set imail buffer directory to home directory for IMAP folders.

24 years agoFix infinite recursion.
Chris Hanson [Tue, 16 May 2000 18:59:42 +0000 (18:59 +0000)]
Fix infinite recursion.

24 years agoFix compilation errors.
Chris Hanson [Tue, 16 May 2000 18:55:41 +0000 (18:55 +0000)]
Fix compilation errors.

24 years agoGeneralize STRING->LINES and LINES->STRING.
Chris Hanson [Tue, 16 May 2000 15:15:14 +0000 (15:15 +0000)]
Generalize STRING->LINES and LINES->STRING.

24 years agoDo network/scheme line-ending translation automatically when reading
Chris Hanson [Tue, 16 May 2000 15:14:17 +0000 (15:14 +0000)]
Do network/scheme line-ending translation automatically when reading
and writing literals.  We shouldn't need to worry about binary data in
mail messages.

24 years agoFix bug: M-x vc-version-other-window must default the version if the
Chris Hanson [Tue, 16 May 2000 15:12:07 +0000 (15:12 +0000)]
Fix bug: M-x vc-version-other-window must default the version if the
user doesn't specify it.

24 years agoDefine SET-STRING-MAXIMUM-LENGTH!.
Chris Hanson [Tue, 16 May 2000 14:44:39 +0000 (14:44 +0000)]
Define SET-STRING-MAXIMUM-LENGTH!.

24 years agoImplement MESSAGE-INTERNAL-TIME.
Chris Hanson [Tue, 16 May 2000 04:14:42 +0000 (04:14 +0000)]
Implement MESSAGE-INTERNAL-TIME.

24 years agoChange INTERNALDATE FETCH response to return the time as universal
Chris Hanson [Tue, 16 May 2000 03:58:40 +0000 (03:58 +0000)]
Change INTERNALDATE FETCH response to return the time as universal
time.

24 years agoSignal "unimplemented" error if AVAILABLE-FOLDER-NAMES called on IMAP URL.
Chris Hanson [Tue, 16 May 2000 03:37:00 +0000 (03:37 +0000)]
Signal "unimplemented" error if AVAILABLE-FOLDER-NAMES called on IMAP URL.

24 years agoImplement IMAP SEARCH-FOLDER operation.
Chris Hanson [Tue, 16 May 2000 03:34:42 +0000 (03:34 +0000)]
Implement IMAP SEARCH-FOLDER operation.

24 years agoImplement all of the IMAP server operations except for
Chris Hanson [Tue, 16 May 2000 03:13:43 +0000 (03:13 +0000)]
Implement all of the IMAP server operations except for
AVAILABLE-FOLDER-NAMES.

24 years agoChange implementation of IMAP URLs so that they are fully instantiated
Chris Hanson [Tue, 16 May 2000 02:16:49 +0000 (02:16 +0000)]
Change implementation of IMAP URLs so that they are fully instantiated
at all times.  This greatly simplifies comparison and caching.

24 years agoRewrite IMAP URL parser to eliminate unused authentication component,
Chris Hanson [Tue, 16 May 2000 01:46:42 +0000 (01:46 +0000)]
Rewrite IMAP URL parser to eliminate unused authentication component,
and to clarify the allowed partial forms.

24 years agoRename NEW-FOLDER to CREATE-FOLDER, and change definition so that the
Chris Hanson [Mon, 15 May 2000 19:20:58 +0000 (19:20 +0000)]
Rename NEW-FOLDER to CREATE-FOLDER, and change definition so that the
new folder object is _not_ returned.  This is more in line with
capabilities of IMAP.

24 years agoEliminate MOVE-FOLDER in favor of more-restricted RENAME-FOLDER. This
Chris Hanson [Mon, 15 May 2000 19:17:19 +0000 (19:17 +0000)]
Eliminate MOVE-FOLDER in favor of more-restricted RENAME-FOLDER.  This
is a closer match to the capabilities of IMAP.

24 years agoEliminate COPY-FOLDER.
Chris Hanson [Mon, 15 May 2000 19:11:52 +0000 (19:11 +0000)]
Eliminate COPY-FOLDER.

24 years agoEliminate message properties.
Chris Hanson [Mon, 15 May 2000 19:08:47 +0000 (19:08 +0000)]
Eliminate message properties.

24 years agoEliminate message properties.
Chris Hanson [Mon, 15 May 2000 19:01:57 +0000 (19:01 +0000)]
Eliminate message properties.

24 years agoAdd code to extract timestamp from unix from line.
Chris Hanson [Mon, 15 May 2000 18:19:46 +0000 (18:19 +0000)]
Add code to extract timestamp from unix from line.

24 years agoAdd ability to specify the time zone in which a ctime() string is to
Chris Hanson [Mon, 15 May 2000 18:15:36 +0000 (18:15 +0000)]
Add ability to specify the time zone in which a ctime() string is to
be interpreted.

24 years agoAdd ability to specify the time zone in which a ctime() string is to
Chris Hanson [Mon, 15 May 2000 18:14:45 +0000 (18:14 +0000)]
Add ability to specify the time zone in which a ctime() string is to
be interpreted.

24 years agoUse runtime system's built-in support for ISO C ctime() strings.
Chris Hanson [Mon, 15 May 2000 17:51:25 +0000 (17:51 +0000)]
Use runtime system's built-in support for ISO C ctime() strings.

24 years agoAdd support for parsing "Received" headers. Break out some
Chris Hanson [Mon, 15 May 2000 17:47:54 +0000 (17:47 +0000)]
Add support for parsing "Received" headers.  Break out some
lower-level parsing code.

24 years agoAllow arbitrary whitespace in passed-in time strings.
Chris Hanson [Mon, 15 May 2000 17:39:28 +0000 (17:39 +0000)]
Allow arbitrary whitespace in passed-in time strings.

24 years agoChanges to clarify IMAP COPY operation. Suggest using UID FETCH.
Chris Hanson [Mon, 15 May 2000 16:45:57 +0000 (16:45 +0000)]
Changes to clarify IMAP COPY operation.  Suggest using UID FETCH.
Mode-line enhancements.

24 years agoFix typo in comment.
Chris Hanson [Mon, 15 May 2000 12:54:18 +0000 (12:54 +0000)]
Fix typo in comment.

24 years agoAdd note about need to move compressed-file I/O to the runtime system.
Chris Hanson [Sun, 14 May 2000 03:34:40 +0000 (03:34 +0000)]
Add note about need to move compressed-file I/O to the runtime system.

24 years agoEliminate usage of FALSE and TRUE.
Chris Hanson [Sun, 14 May 2000 03:31:11 +0000 (03:31 +0000)]
Eliminate usage of FALSE and TRUE.

24 years agoDon't store subprocesses in a simple list -- use a GC finalizer so
Chris Hanson [Sun, 14 May 2000 03:30:32 +0000 (03:30 +0000)]
Don't store subprocesses in a simple list -- use a GC finalizer so
that their resources are cleaned up if the subprocess objects are
dropped.

24 years agoDon't show special mode-line string if selected message is detached.
Chris Hanson [Fri, 12 May 2000 18:33:44 +0000 (18:33 +0000)]
Don't show special mode-line string if selected message is detached.

24 years agoChange APPEND-MESSAGE to accept arguments (MESSAGE URL) rather than
Chris Hanson [Fri, 12 May 2000 18:23:05 +0000 (18:23 +0000)]
Change APPEND-MESSAGE to accept arguments (MESSAGE URL) rather than
(FOLDER MESSAGE) as currently.  There's no need to have the folder
open to append a message to it, and this requirement causes problems
for the IMAP back end.

24 years agoEliminate unused parts of IMAP URL.
Chris Hanson [Fri, 12 May 2000 18:00:56 +0000 (18:00 +0000)]
Eliminate unused parts of IMAP URL.

24 years agoReplace FOLDER-PRESENTATION-NAME with URL-PRESENTATION-NAME.
Chris Hanson [Fri, 12 May 2000 17:56:46 +0000 (17:56 +0000)]
Replace FOLDER-PRESENTATION-NAME with URL-PRESENTATION-NAME.

24 years agoReorganize into major sections. Add several more items.
Chris Hanson [Thu, 11 May 2000 14:46:36 +0000 (14:46 +0000)]
Reorganize into major sections.  Add several more items.

24 years agoReorder items into rough prioritization.
Chris Hanson [Thu, 11 May 2000 02:06:30 +0000 (02:06 +0000)]
Reorder items into rough prioritization.

24 years agoAdd more suggestions.
Chris Hanson [Thu, 11 May 2000 02:04:34 +0000 (02:04 +0000)]
Add more suggestions.

24 years agoMove to-do notes to new file "todo.txt".
Chris Hanson [Thu, 11 May 2000 00:48:06 +0000 (00:48 +0000)]
Move to-do notes to new file "todo.txt".

24 years agoAdd code to do NOOP after FETCH if the desired results from the FETCH
Chris Hanson [Wed, 10 May 2000 21:24:46 +0000 (21:24 +0000)]
Add code to do NOOP after FETCH if the desired results from the FETCH
aren't received.

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.