mit-scheme.git
23 years agoFix bug: regular-expression compiler is breaking the character-set
Chris Hanson [Fri, 15 Jun 2001 21:20:53 +0000 (21:20 +0000)]
Fix bug: regular-expression compiler is breaking the character-set
abstraction.

23 years agoChange representation of character sets so that they do not satisfy
Chris Hanson [Fri, 15 Jun 2001 20:38:51 +0000 (20:38 +0000)]
Change representation of character sets so that they do not satisfy
STRING?.  Unfortunately, this requires a complete recompilation of the
system, since the primitives SUBSTRING-FIND-NEXT-CHAR-IN-SET and
SUBSTRING-FIND-PREVIOUS-CHAR-IN-SET were being hard-coded by the
syntaxer.

23 years agoDon't integrate the primitives SUBSTRING-FIND-NEXT-CHAR-IN-SET and
Chris Hanson [Fri, 15 Jun 2001 20:36:18 +0000 (20:36 +0000)]
Don't integrate the primitives SUBSTRING-FIND-NEXT-CHAR-IN-SET and
SUBSTRING-FIND-PREVIOUS-CHAR-IN-SET.

23 years agoStart the folder-probe thread only when the folder is ONLINE, and stop
Chris Hanson [Tue, 12 Jun 2001 01:05:44 +0000 (01:05 +0000)]
Start the folder-probe thread only when the folder is ONLINE, and stop
the thread when the folder is OFFLINE.  Make sure that the buffer is
disassociated from it's folder when the buffer is killed.

23 years agoStart the folder-probe thread only when the folder is ONLINE, and stop
Chris Hanson [Tue, 12 Jun 2001 00:58:15 +0000 (00:58 +0000)]
Start the folder-probe thread only when the folder is ONLINE, and stop
the thread when the folder is OFFLINE.  Make sure that the buffer is
disassociated from it's folder when the buffer is killed.

23 years agoChange OPEN-RESOURCE and CLOSE-RESOURCE so that all of their behavior
Chris Hanson [Tue, 12 Jun 2001 00:47:39 +0000 (00:47 +0000)]
Change OPEN-RESOURCE and CLOSE-RESOURCE so that all of their behavior
is pushed down into the type-dependent modules.  (Previously, they had
some type-independent code.)  This, plus one explicit call, now means
that the STATUS modification event is now consistently signalled
whenever the connection status changes.

23 years agoForgot to export HANDLE-SUBPROCESS-STATUS-CHANGE to the socket code.
Chris Hanson [Sat, 9 Jun 2001 00:34:58 +0000 (00:34 +0000)]
Forgot to export HANDLE-SUBPROCESS-STATUS-CHANGE to the socket code.

23 years agoINPUT-BUFFER/READ-SUBSTRING must use generic arithmetic for indexes
Chris Hanson [Sat, 9 Jun 2001 00:30:38 +0000 (00:30 +0000)]
INPUT-BUFFER/READ-SUBSTRING must use generic arithmetic for indexes
into the substring, because it might be an xstring that is larger than
the fixnum range.

23 years agoREAD-SUBSTRING! can return less than the requested number of bytes.
Chris Hanson [Sat, 9 Jun 2001 00:29:48 +0000 (00:29 +0000)]
READ-SUBSTRING! can return less than the requested number of bytes.
Deal with it.

23 years agoVC's state is wiped out when the workfile's buffer has it's mode
Chris Hanson [Thu, 7 Jun 2001 17:48:19 +0000 (17:48 +0000)]
VC's state is wiped out when the workfile's buffer has it's mode
changed.  Use new event EVENT:SET-BUFFER-MAJOR-MODE to reset it at
that time.

23 years agoLOAD-FIND-FILE-INITIALIZATION must be re-run when the buffer's
Chris Hanson [Thu, 7 Jun 2001 17:45:01 +0000 (17:45 +0000)]
LOAD-FIND-FILE-INITIALIZATION must be re-run when the buffer's
pathname or major mode is changed.

23 years agoVC's state is wiped out when the workfile's buffer has it's mode
Chris Hanson [Thu, 7 Jun 2001 17:44:21 +0000 (17:44 +0000)]
VC's state is wiped out when the workfile's buffer has it's mode
changed.  Use new event EVENT:SET-BUFFER-MAJOR-MODE to reset it at
that time.

23 years agoAdd new event EVENT:SET-BUFFER-MAJOR-MODE.
Chris Hanson [Thu, 7 Jun 2001 17:43:21 +0000 (17:43 +0000)]
Add new event EVENT:SET-BUFFER-MAJOR-MODE.

23 years agoFix bug: TCP-SERVER-CONNECTION-ACCEPT was blocking on the server
Chris Hanson [Tue, 5 Jun 2001 02:46:59 +0000 (02:46 +0000)]
Fix bug: TCP-SERVER-CONNECTION-ACCEPT was blocking on the server
socket, rather than registering it for management by select.

23 years agoWhen reverting buffer, preserve selected resource, marked resources,
Chris Hanson [Mon, 4 Jun 2001 19:26:33 +0000 (19:26 +0000)]
When reverting buffer, preserve selected resource, marked resources,
and expanded containers.  When initializing buffer, select first
resource line.

23 years agoSelect first unseen message when invoking M-x imail on a folder that
Chris Hanson [Mon, 4 Jun 2001 19:25:11 +0000 (19:25 +0000)]
Select first unseen message when invoking M-x imail on a folder that
is already online.

23 years agoRename commands to match current Dired usage.
Chris Hanson [Mon, 4 Jun 2001 17:42:49 +0000 (17:42 +0000)]
Rename commands to match current Dired usage.

23 years agoSimplify usage of COPY-FOLDER.
Chris Hanson [Mon, 4 Jun 2001 17:42:30 +0000 (17:42 +0000)]
Simplify usage of COPY-FOLDER.

23 years agoMore new notes.
Chris Hanson [Mon, 4 Jun 2001 17:40:38 +0000 (17:40 +0000)]
More new notes.

23 years agoImplement M-x imail-browser-do-copy. Consolidate code used for copy
Chris Hanson [Mon, 4 Jun 2001 17:40:15 +0000 (17:40 +0000)]
Implement M-x imail-browser-do-copy.  Consolidate code used for copy
and rename.  Write documentation strings for all commands and for the
major mode.

23 years agoSimplify usage of COPY-FOLDER.
Chris Hanson [Mon, 4 Jun 2001 17:39:08 +0000 (17:39 +0000)]
Simplify usage of COPY-FOLDER.

23 years agoImplement WITH-OPEN-RESOURCE.
Chris Hanson [Mon, 4 Jun 2001 17:38:50 +0000 (17:38 +0000)]
Implement WITH-OPEN-RESOURCE.

23 years agoFix minor wording problem in documentation string.
Chris Hanson [Mon, 4 Jun 2001 17:12:33 +0000 (17:12 +0000)]
Fix minor wording problem in documentation string.

23 years agoChange commands used to enter browser. Now the primary command is M-x
Chris Hanson [Sun, 3 Jun 2001 06:03:47 +0000 (06:03 +0000)]
Change commands used to enter browser.  Now the primary command is M-x
imail-browser-view-container (bound to ^ in all IMAIL buffers), which
browses the container of the resource being viewed in the current
buffer.  This command will prompt for a container URL if given a
prefix argument.

23 years agoFix bug: the container URL "imap://localhost/" had an associated
Chris Hanson [Sun, 3 Jun 2001 06:00:18 +0000 (06:00 +0000)]
Fix bug: the container URL "imap://localhost/" had an associated
"folder" URL with the same string representation.  This confused the
URL interning mechanism, which uses the string rep as the key.
Consequently only one of the URLs existed.  Now, the "folder" is
represented by "imap://localhost".

23 years agoWhen processing marked files in a Dired buffer, update screens after
Chris Hanson [Sun, 3 Jun 2001 01:48:32 +0000 (01:48 +0000)]
When processing marked files in a Dired buffer, update screens after
each file is processed so that the mark is appropriately removed.

23 years agoChange CLOSE-RESOURCE so that second argument is required rather than
Chris Hanson [Sun, 3 Jun 2001 01:42:40 +0000 (01:42 +0000)]
Change CLOSE-RESOURCE so that second argument is required rather than
optional.

23 years agoAssociate a connection with an open IMAP container. Add code to
Chris Hanson [Sun, 3 Jun 2001 01:41:49 +0000 (01:41 +0000)]
Associate a connection with an open IMAP container.  Add code to
browser to guarantee that the resource is closed at appropriate times.

23 years ago*** empty log message ***
Chris Hanson [Sun, 3 Jun 2001 01:23:54 +0000 (01:23 +0000)]
*** empty log message ***

23 years agoChange M-x imail-quit to use the new NO-DEFER? argument to
Chris Hanson [Sun, 3 Jun 2001 01:23:45 +0000 (01:23 +0000)]
Change M-x imail-quit to use the new NO-DEFER? argument to
CLOSE-RESOURCE.

23 years agoAdd optional argument NO-DEFER? to CLOSE-RESOURCE. If this argument
Chris Hanson [Sun, 3 Jun 2001 01:22:54 +0000 (01:22 +0000)]
Add optional argument NO-DEFER? to CLOSE-RESOURCE.  If this argument
is true, it tells the operation that the resource must be closed
immediately.  Otherwise, the operation may defer the closure.

23 years agoAdd a few notes.
Chris Hanson [Sat, 2 Jun 2001 22:30:07 +0000 (22:30 +0000)]
Add a few notes.

23 years agoAdd commented-out stubs for commands to do file linking.
Chris Hanson [Sat, 2 Jun 2001 22:28:49 +0000 (22:28 +0000)]
Add commented-out stubs for commands to do file linking.

23 years agoAdd logic to GET-X-DISPLAY to test for existence of X primitives, and
Chris Hanson [Sat, 2 Jun 2001 22:25:38 +0000 (22:25 +0000)]
Add logic to GET-X-DISPLAY to test for existence of X primitives, and
to make sure that a display variable exists.  This is necessary so
that Edwin will work on a system that doesn't have X support.

23 years agoPROMPT-FOR-DIRECTORY should not always perform PATHNAME-AS-DIRECTORY
Chris Hanson [Sat, 2 Jun 2001 21:57:16 +0000 (21:57 +0000)]
PROMPT-FOR-DIRECTORY should not always perform PATHNAME-AS-DIRECTORY
on its result; if the REQUIRE-MATCH? option isn't given, the result
might not be a directory.  For example, Dired uses this prompt, and an
input with a wildcard file part is permissible.

23 years agoUpdate doc string for dired-do-copy to match Emacs.
Chris Hanson [Sat, 2 Jun 2001 21:50:06 +0000 (21:50 +0000)]
Update doc string for dired-do-copy to match Emacs.

23 years agoEliminate variable dired-copy-preserve-time which wasn't doing anything.
Chris Hanson [Sat, 2 Jun 2001 16:51:01 +0000 (16:51 +0000)]
Eliminate variable dired-copy-preserve-time which wasn't doing anything.

23 years agoNew procedures HARD-LINK-FILE and SOFT-LINK-FILE.
Chris Hanson [Sat, 2 Jun 2001 15:39:02 +0000 (15:39 +0000)]
New procedures HARD-LINK-FILE and SOFT-LINK-FILE.

23 years agoNew procedures HARD-LINK-FILE and SOFT-LINK-FILE.
Chris Hanson [Sat, 2 Jun 2001 15:33:04 +0000 (15:33 +0000)]
New procedures HARD-LINK-FILE and SOFT-LINK-FILE.

23 years agoNew procedures HARD-LINK-FILE and SOFT-LINK-FILE.
Chris Hanson [Sat, 2 Jun 2001 15:30:43 +0000 (15:30 +0000)]
New procedures HARD-LINK-FILE and SOFT-LINK-FILE.

23 years agoImplement marked files for D and R commands (stub for C command needs
Chris Hanson [Sat, 2 Jun 2001 05:55:51 +0000 (05:55 +0000)]
Implement marked files for D and R commands (stub for C command needs
to be written).  Change name of x command to M-x
imail-browser-do-flagged-delete to correspond to new name given
corresponding Emacs dired command.

23 years agoIn M-x imail-rename-folder and M-x imail-copy-folder, allow user to
Chris Hanson [Sat, 2 Jun 2001 05:50:19 +0000 (05:50 +0000)]
In M-x imail-rename-folder and M-x imail-copy-folder, allow user to
specify a container for the target.

23 years agoAdd new procedure PROMPT-FOR-URL.
Chris Hanson [Sat, 2 Jun 2001 05:43:12 +0000 (05:43 +0000)]
Add new procedure PROMPT-FOR-URL.

23 years agoAdd optional HOST argument to OPEN-TCP-SERVER-SOCKET, and new
Chris Hanson [Sat, 2 Jun 2001 01:26:39 +0000 (01:26 +0000)]
Add optional HOST argument to OPEN-TCP-SERVER-SOCKET, and new
procedures HOST-ADDRESS-ANY and HOST-ADDRESS-LOOPBACK.  This allows
the user to specify the network interface(s) being listened to.

23 years agoProvide missing htonl calls.
Chris Hanson [Sat, 2 Jun 2001 01:25:00 +0000 (01:25 +0000)]
Provide missing htonl calls.

23 years agoOops, that should have been CREATE-TCP-SERVER-SOCKET.
Chris Hanson [Sat, 2 Jun 2001 01:06:01 +0000 (01:06 +0000)]
Oops, that should have been CREATE-TCP-SERVER-SOCKET.

23 years agoImplement new primitives to allow finer control over how TCP server
Chris Hanson [Sat, 2 Jun 2001 01:05:22 +0000 (01:05 +0000)]
Implement new primitives to allow finer control over how TCP server
sockets are configured:

    HOST-ADDRESS-ANY
    HOST-ADDRESS-LOOPBACK
    CREATE_TCP_SERVER_SOCKET
    BIND-TCP-SERVER-SOCKET
    LISTEN-TCP-SERVER-SOCKET

23 years agoDefer closing of connection when it is the last connection open to a
Chris Hanson [Fri, 1 Jun 2001 02:23:19 +0000 (02:23 +0000)]
Defer closing of connection when it is the last connection open to a
particular server.  This prevents a pattern of opening and closing
that occurs when IMAIL starts up (due to probes performed prior to
opening the folder).  It also allows the user to do completion in the
folder space without occurring the same penalty.  The downside is that
the connection remains open for about a minute after the user "closes"
it, which will be remedied in a future revision.

23 years agoFirst draft of a mechanism to defer closing of connections. This
Chris Hanson [Thu, 31 May 2001 20:34:17 +0000 (20:34 +0000)]
First draft of a mechanism to defer closing of connections.  This
suffers from a fault: the background probe-folder thread is re-opening
the connection while it is in the deferred state.

23 years agoImplement START-STANDARD-POLLING-THREAD and
Chris Hanson [Thu, 31 May 2001 19:58:40 +0000 (19:58 +0000)]
Implement START-STANDARD-POLLING-THREAD and
STOP-STANDARD-POLLING-THREAD to capture standard method of using
background thread to poll for output or events.

23 years agoImplement START-STANDARD-POLLING-THREAD and
Chris Hanson [Thu, 31 May 2001 19:57:40 +0000 (19:57 +0000)]
Implement START-STANDARD-POLLING-THREAD and
STOP-STANDARD-POLLING-THREAD to capture standard method of using
background thread to poll for output or events.

23 years agoAdd interrupt locking to REGISTER-INFERIOR-THREAD! and
Chris Hanson [Thu, 31 May 2001 19:41:53 +0000 (19:41 +0000)]
Add interrupt locking to REGISTER-INFERIOR-THREAD! and
DEREGISTER-INFERIOR-THREAD!.  Change DEREGISTER-INFERIOR-THREAD! to
delete the entry from the list of inferior threads.

23 years agoChange how connections are allocated; when looking for a connection
Chris Hanson [Wed, 30 May 2001 05:47:08 +0000 (05:47 +0000)]
Change how connections are allocated; when looking for a connection
for a folder, we'll now take over an existing compatible connection if
it's not being used by another folder.  This will be useful after the
next change, which will cause connections to stay open a short while
after their last reference is dropped; when that happens, there will
be open connections lying around that can usefully be adopted.

23 years agoDon't use LOAD-OPTION to load cref; it probably doesn't exist on the
Chris Hanson [Tue, 29 May 2001 21:25:33 +0000 (21:25 +0000)]
Don't use LOAD-OPTION to load cref; it probably doesn't exist on the
host system (outside of MIT), and this will cause an error if the user
has MITSCHEME_INF_DIRECTORY set.

23 years agoEliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.
Chris Hanson [Tue, 29 May 2001 20:46:28 +0000 (20:46 +0000)]
Eliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.

23 years agoEliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.
Chris Hanson [Tue, 29 May 2001 20:41:56 +0000 (20:41 +0000)]
Eliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.

23 years agoRename URL-IS-CONTAINER? to URL-CORRESPONDING-CONTAINER. Eliminate
Chris Hanson [Tue, 29 May 2001 20:36:53 +0000 (20:36 +0000)]
Rename URL-IS-CONTAINER? to URL-CORRESPONDING-CONTAINER.  Eliminate
requirement that the result be #F if the resource doesn't exist.

23 years agoCache information returned by the IMAP LIST command. This should help
Chris Hanson [Tue, 29 May 2001 20:26:32 +0000 (20:26 +0000)]
Cache information returned by the IMAP LIST command.  This should help
to reduce traffic on the wire.

23 years agoDon't use my private "$bscm" environment variable in public code.
Chris Hanson [Tue, 29 May 2001 20:08:59 +0000 (20:08 +0000)]
Don't use my private "$bscm" environment variable in public code.

23 years agoDon't use LOAD-OPTION to load cref; it probably doesn't exist on the
Chris Hanson [Tue, 29 May 2001 19:58:28 +0000 (19:58 +0000)]
Don't use LOAD-OPTION to load cref; it probably doesn't exist on the
host system (outside of MIT), and this will cause an error if the user
has MITSCHEME_INF_DIRECTORY set.

23 years agoChange M-x imail so that it only runs M-x imail-get-new-mail if the
Chris Hanson [Tue, 29 May 2001 19:32:39 +0000 (19:32 +0000)]
Change M-x imail so that it only runs M-x imail-get-new-mail if the
folder status is OFFLINE.

23 years agoRestructure IMAP URLs so that each container URL has a corresponding
Chris Hanson [Tue, 29 May 2001 17:45:37 +0000 (17:45 +0000)]
Restructure IMAP URLs so that each container URL has a corresponding
folder URL.  The container URL inherits the components of the folder
URL rather than keeping its own copies.  This sharing will be
important when we add caching of the IMAP server's LIST info.

23 years agoIn IMAP-MAILBOX-DELIMITER, use the probed root as the table key;
Chris Hanson [Mon, 28 May 2001 03:49:04 +0000 (03:49 +0000)]
In IMAP-MAILBOX-DELIMITER, use the probed root as the table key;
previous strategy make no sense.

23 years agoFix bug: IMAP-MAILBOX-DELIMITER was calling the LIST command on a
Chris Hanson [Mon, 28 May 2001 02:10:08 +0000 (02:10 +0000)]
Fix bug: IMAP-MAILBOX-DELIMITER was calling the LIST command on a
mailbox with a trailing slash; now the slash is omitted.

23 years agoCache result of URL-IS-CONTAINER?, to prevent going back to network
Chris Hanson [Sun, 27 May 2001 05:05:54 +0000 (05:05 +0000)]
Cache result of URL-IS-CONTAINER?, to prevent going back to network
each time it's needed.  This might not actually work, since the
definition of URL-IS-CONTAINER? specifies that the corresponding
mailbox must exist.

23 years agoDelete entries for things that are now implemented.
Chris Hanson [Sun, 27 May 2001 05:04:24 +0000 (05:04 +0000)]
Delete entries for things that are now implemented.

23 years agoNote problem that connection to IMAP server is being opened and closed
Chris Hanson [Sun, 27 May 2001 05:01:55 +0000 (05:01 +0000)]
Note problem that connection to IMAP server is being opened and closed
too much.

23 years agoFix error message of SELECTED-URL so that it makes more sense to the
Chris Hanson [Sat, 26 May 2001 03:09:36 +0000 (03:09 +0000)]
Fix error message of SELECTED-URL so that it makes more sense to the
end user.

23 years agoEliminate compiler warning.
Chris Hanson [Sat, 26 May 2001 03:02:29 +0000 (03:02 +0000)]
Eliminate compiler warning.

23 years agoAdd first working draft of folder browser.
Chris Hanson [Sat, 26 May 2001 03:01:00 +0000 (03:01 +0000)]
Add first working draft of folder browser.

23 years agoChange IMAIL-DEFAULT-CONTAINER to use selected URL if any. This sets
Chris Hanson [Sat, 26 May 2001 02:51:06 +0000 (02:51 +0000)]
Change IMAIL-DEFAULT-CONTAINER to use selected URL if any.  This sets
default correctly in the folder browser when point is inside an
expanded subfolder.

23 years agoImplement SELECTED-CONTAINER-URL.
Chris Hanson [Sat, 26 May 2001 02:13:40 +0000 (02:13 +0000)]
Implement SELECTED-CONTAINER-URL.

23 years agoChange external representation of URL to use content name rather than
Chris Hanson [Sat, 26 May 2001 02:12:50 +0000 (02:12 +0000)]
Change external representation of URL to use content name rather than
presentation name.

23 years agoFix indentation.
Chris Hanson [Sat, 26 May 2001 01:55:10 +0000 (01:55 +0000)]
Fix indentation.

23 years agoCache CONTAINER-URL of every URL when it is created, so that the
Chris Hanson [Fri, 25 May 2001 18:16:56 +0000 (18:16 +0000)]
Cache CONTAINER-URL of every URL when it is created, so that the
heirarchy can be quickly traversed.

Rename URL-IS-SELECTABLE? as FOLDER-URL-IS-SELECTABLE?.

Implement new operation URL-IS-CONTAINER?  which returns the
equivalent container URL of a URL (which may be a folder URL).

23 years agoChange noun "child", used to refer to something in a container, to
Chris Hanson [Fri, 25 May 2001 02:45:51 +0000 (02:45 +0000)]
Change noun "child", used to refer to something in a container, to
"content".

23 years agoGeneralize WITH-READ-ONLY-DEFEATED to accept anything that ->BUFFER
Chris Hanson [Thu, 24 May 2001 19:18:57 +0000 (19:18 +0000)]
Generalize WITH-READ-ONLY-DEFEATED to accept anything that ->BUFFER
can resolve to a buffer.

23 years agoDon't echo server's mailbox name to the user.
Chris Hanson [Thu, 24 May 2001 19:12:41 +0000 (19:12 +0000)]
Don't echo server's mailbox name to the user.

23 years agoInclude full key bindings in mode help.
Chris Hanson [Thu, 24 May 2001 19:07:15 +0000 (19:07 +0000)]
Include full key bindings in mode help.

23 years agoFix CONTAINER-URL-CONTENTS to return container URLs when appropriate.
Chris Hanson [Thu, 24 May 2001 19:03:52 +0000 (19:03 +0000)]
Fix CONTAINER-URL-CONTENTS to return container URLs when appropriate.

23 years agoFix bug in previous change: was using procedures that returned marks
Chris Hanson [Thu, 24 May 2001 18:57:53 +0000 (18:57 +0000)]
Fix bug in previous change: was using procedures that returned marks
when I expected indexes.

23 years agoAdd some more resource->URL reflectors.
Chris Hanson [Thu, 24 May 2001 17:51:14 +0000 (17:51 +0000)]
Add some more resource->URL reflectors.

23 years agoSimplify meaning of CONTAINER-URL; it no longer does anything special
Chris Hanson [Thu, 24 May 2001 17:46:51 +0000 (17:46 +0000)]
Simplify meaning of CONTAINER-URL; it no longer does anything special
for IMAP URLs.  Define new operation CONTAINER-URL-FOR-PROMPT that has
the behavior that CONTAINER-URL used to.

Implement new operation URL-CHILD-NAME which is now the complement to
CONTAINER-URL.  These operations now return compatible halves of the
URL, which may be recombined using MAKE-CHILD-URL to obtain the
original URL.

Change implementation of URL-PRESENTATION-NAME; it now just calls
URL-CHILD-NAME, stripping a slash off the end if present.

Clarify definition of URL-BASE-NAME.

Revert CONTAINER-CONTENTS back to CONTAINER-URL-CONTENTS.  Maybe
tomorrow I'll change my mind again.

23 years agoRegularize the names of the procedures that manage the selected
Chris Hanson [Thu, 24 May 2001 03:43:17 +0000 (03:43 +0000)]
Regularize the names of the procedures that manage the selected
container and selected URL.  Move these and SELECT-FOLDER to the same
page.

23 years agoChange GET-MEMOIZED-RESOURCE to accept an optional argument specifying
Chris Hanson [Thu, 24 May 2001 03:41:28 +0000 (03:41 +0000)]
Change GET-MEMOIZED-RESOURCE to accept an optional argument specifying
that it is an error if there is no associated resource.

23 years agoRename the following server operations, then add methods to them to
Chris Hanson [Thu, 24 May 2001 01:19:47 +0000 (01:19 +0000)]
Rename the following server operations, then add methods to them to
support containers as well as folders:

    create-folder => create-resource
    delete-folder => delete-resource
    rename-folder => rename-resource

23 years agoRename the following server operations, then add methods to them to
Chris Hanson [Thu, 24 May 2001 01:18:45 +0000 (01:18 +0000)]
Rename the following server operations, then add methods to them to
support containers as well as folders:

    create-folder => create-resource
    delete-folder => delete-resource
    rename-folder => rename-resource

23 years agoRename the following server operations, then add methods to them to
Chris Hanson [Thu, 24 May 2001 01:14:07 +0000 (01:14 +0000)]
Rename the following server operations, then add methods to them to
support containers as well as folders:

    create-folder => create-resource
    delete-folder => delete-resource
    rename-folder => rename-resource

23 years agoAdd a handful of methods to allow containers to be used in place of
Chris Hanson [Thu, 24 May 2001 01:01:11 +0000 (01:01 +0000)]
Add a handful of methods to allow containers to be used in place of
container URLs in operations where it seems useful.

23 years agoDon't use history value as default for source of M-x
Chris Hanson [Thu, 24 May 2001 00:26:32 +0000 (00:26 +0000)]
Don't use history value as default for source of M-x
imail-rename-folder and M-x imail-copy-folder.

23 years agoFix a few minor bugs from the recent changes.
Chris Hanson [Thu, 24 May 2001 00:20:07 +0000 (00:20 +0000)]
Fix a few minor bugs from the recent changes.

23 years agoGeneralize folder operations:
Chris Hanson [Wed, 23 May 2001 23:23:48 +0000 (23:23 +0000)]
Generalize folder operations:

open-folder => open-resource
close-folder => close-resource
save-folder => save-resource

Add methods to each of these renamed operations so that they can
handle containers.

23 years agoEliminate CONTAINER-URL-CONTENTS in favor of CONTAINER-CONTENTS.
Chris Hanson [Wed, 23 May 2001 21:30:02 +0000 (21:30 +0000)]
Eliminate CONTAINER-URL-CONTENTS in favor of CONTAINER-CONTENTS.

23 years agoRename URL-CONTAINER to CONTAINER-URL to better reflect its meaning.
Chris Hanson [Wed, 23 May 2001 21:20:28 +0000 (21:20 +0000)]
Rename URL-CONTAINER to CONTAINER-URL to better reflect its meaning.

23 years agoFix bug in previous change: the object being modified is the
Chris Hanson [Wed, 23 May 2001 13:46:26 +0000 (13:46 +0000)]
Fix bug in previous change: the object being modified is the
container, not the URL for the container.

23 years agoGeneralize implementations of properties and modification events so
Chris Hanson [Wed, 23 May 2001 05:05:29 +0000 (05:05 +0000)]
Generalize implementations of properties and modification events so
that they can be mixed in to arbitrary classes.  Simplify property
implementation to use an alist.  This saves 4 words of memory, which
is important for message objects.

Create generalized resources, which are the referents of URLs.  Use
these as the base for folders, and create a new container type.

Change CREATE-FOLDER, DELETE-FOLDER, RENAME-FOLDER, and APPEND-MESSAGE
to signal appropriate events to the container of the folders being
manipulated.  This will allow folder browsers to automatically update
themselves as their contents are changed.

Add hooks to folder and container prompts, which allow the folder
browser to use some of the standard server commands.  The browser
can supply the appropriate URL string without prompting.

Don't let M-x imail-copy-folder copy from a folder to itself.

23 years agoNote that RENAME-FOLDER must change the URL the target folder refers
Chris Hanson [Wed, 23 May 2001 04:15:10 +0000 (04:15 +0000)]
Note that RENAME-FOLDER must change the URL the target folder refers
to.

23 years agoImplement WITHOUT-TEXT-CLIPPED.
Chris Hanson [Tue, 22 May 2001 16:16:34 +0000 (16:16 +0000)]
Implement WITHOUT-TEXT-CLIPPED.

23 years agoDuh. Can't delete DOS pathname support; that is used by Win32 and
Chris Hanson [Tue, 22 May 2001 03:18:47 +0000 (03:18 +0000)]
Duh.  Can't delete DOS pathname support; that is used by Win32 and
OS/2.

23 years agoDuh. Can't delete DOS pathname support; that is used by Win32 and
Chris Hanson [Tue, 22 May 2001 03:09:52 +0000 (03:09 +0000)]
Duh.  Can't delete DOS pathname support; that is used by Win32 and
OS/2.